Skip to content

Conversation

zak-pawel
Copy link
Collaborator

Summary

The RFC 3164 standard does not provide a year for the TIMESTAMP field (https://datatracker.ietf.org/doc/html/rfc3164#section-4.1.2), which is why the plugin, when parsing the timestamp, sets the current year.

For both RFC 3164 tests, the timestamp is Dec 2 16:31:03.
In 2024, it parsed to 1733157063000000000.
In 2025, it parsed to 1764693063000000000.

In this PR, I'm updating the expected timeout to 2025. This is just a workaround that will stop working in 2026.

Checklist

  • No AI generated code was used in this PR

@telegraf-tiger telegraf-tiger bot added area/syslog fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Jan 2, 2025
@srebhan
Copy link
Member

srebhan commented Jan 9, 2025

@zak-pawel I think Dane already merged a fix in #16384. Could you confirm that his fix is working and close this PR?

@zak-pawel
Copy link
Collaborator Author

Dane did exactly the same thing in his PR as I did in mine, so I confirm that it works :)

@zak-pawel zak-pawel closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/syslog fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants