-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
The time format in the syslog-rfc5424 parser is incorrect (flb_strptime) #2625
Comments
I revisited this issue this morning, and found that https://github.com/fluent/fluent-bit/blob/master/src/flb_strptime.c#L513 On a closer look, the root problem here seems to be that the configuration
So |
@fujimotos I may be responsible for some confusion here. In my report above, I stated:
But the actual errors from the tracelog above were with I also used the custom parser in my config above just to test flipping the case:
What I ended up having to use was I'll test to see if this still matters with your related merge, but I wanted to clarify that initially I tested |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Bug Report
Describe the bug
The rfc5424 timezone designator
±00:00
is not supported as claimed by flb_strptimeThis is almost a duplicate of #2407, but references
flb_strptime
(fluentbit v1.5.3+) rather than the systemstrptime
. The resolution provided in that issue does not work in v1.5.3+ (v1.5.4, v1.5.7-debug).To Reproduce
Try to parse logs with builtin parser
syslog-rfc3164
.Config:
Expected behavior
Logs are forwarded to the next stage in the pipeline.
Error message
Trace logs:
Your Environment
Thanks!
The text was updated successfully, but these errors were encountered: