-
Notifications
You must be signed in to change notification settings - Fork 168
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
Milliseconds are stripped from logs #15
Comments
What version of fluentd are you using? Sub second precision is only supported in fluentd v0.14.0.pre.1 or builds from fluentd master branch. |
It looks like
|
I've tried to think of how this plugin could be stripping anything from logs but can't... Can you check the source document in Elasticsearch (I assume you're using that) to see if the time is correct in a nested/different field? FYI the lack of support for subsecond precision is discussed in fluent/fluentd#461 & fluent/fluentd#653. Upgrading our environment to use fluentd v0.14.0.pre.1 immediately enabled subsecond precision logs. |
I tried moving to 0.14.0.pre.1 with our migration to Kubernetes 1.2, but fluentd is in a restart loop with the following error...perhaps an output format change is breaking the plugin?
|
By hacking the output plugin, I was able to get this working end-to-end, proving that it is not this filter causing the problem. :) |
@chrisleck how did you hack the output plugin? I'm having the same trouble and I don't quite understand what you did to make it work. |
Our current setup has us using the following Dockerfile and fluent.conf Dockerfile: https://gist.github.com/chrisleck/278f7e14b042bf6bfb4b5fedce13af52 |
Thanks, @chrisleck ! |
It appears this plugin strips milliseconds from log entries, making logs appear in searches (e.g., via the kibana UI) in the wrong order.
The text was updated successfully, but these errors were encountered: