-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add loggly adapter #1
Comments
Alternatively, what's the license for this project? Can it be forked to include the Loggly adapter? |
When I evalulated loggly, I used this snippet in CoreOS with systemd:
In non CoreOS linux you would have to replace the etcd call and store the date time somewhere else (file). |
Hi. I ended up writing this: Tries to export as much structured data to Loggly as possible. |
Just a head's up that journald actually has a 2,048 character limit by default (https://bugs.freedesktop.org/show_bug.cgi?id=86465). Even when you output logs in JSON, entries that span more than 2048 characters will be auto-truncated. For this reason, we ultimately wound up installing fluentd as a container, mounting the docker logs volume in read-only mode, and writing a custom fluentd plugin (which we hope to publish at some point) to add the appropriate metadata to the docker logs. |
I'd like to take a crack at adding a loggly adapter.
The text was updated successfully, but these errors were encountered: