Skip to content
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

fix: Output timestamp with fractional seconds #9625

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

reimda
Copy link
Contributor

@reimda reimda commented Aug 13, 2021

The graylog output plugin previously output the timestamp in whole seconds with no fractional part. This PR adds the fractionalpart. I'm not sure why it wasn't there before. The gelf format specification says it is optional but is clear that fractional seconds are allowed.

https://docs.graylog.org/en/3.3/pages/gelf.html#gelf-payload-specification

@telegraf-tiger telegraf-tiger bot added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Aug 13, 2021
@reimda reimda merged commit 2370d39 into master Aug 30, 2021
@reimda reimda deleted the graylog-fractional-timestamp branch August 30, 2021 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants