Bug Report
Describe the bug
Fluent Bit is intermittently reporting the following parser error:
[error] [parser] time string length is too long
This error occurred once on Feb 5th, then did not appear for about a month, and started happening again from Mar 11th onward.
No configuration changes were made to Fluent Bit, EKS, or our application during this period.
AWS Support suggested that audit.log rotation around Mar 11 might have triggered the issue, but the root cause remains unclear.
To Reproduce
- Rubular link if applicable: N/A
- Example log message:
[error] [parser] time string length is too long
- Steps to reproduce the problem:
- Use Fluent Bit (tail + parser) to read
/var/log/audit/audit.log
- After audit.log rotates, the parser error begins to appear again
- The issue does not occur consistently for every line
Expected behavior
- Fluent Bit should parse audit.log timestamps without producing
time string length is too long
- Log rotation should not cause parsing failures
Screenshots
- CloudWatch Logs showing the parser error
Your Environment
- Version used: 2.12.0
- Configuration:
- Full configuration (all INPUT / FILTER / OUTPUT definitions) is attached as containers.conf(containersconf.txt)
- Main config (fluent-bit.conf) only contains SERVICE section and @include directives
- Environment name and version (e.g. Kubernetes? What version?):
- Amazon EKS / Kubernetes Version: 1.31
- Server type and version:
- Node instance type: m5.large
- Operating System and version:
- OS architecture: linux (amd64)
- OS image: Amazon Linux 2
- Kernel version: 5.10.228-219.884.amzn2.x86_64
- Filters and plugins (summary):
[INPUT]
- tail: fluentbit.*
- tail: cloudwatch-agent.*
- tail: kube-proxy.*
- tail: aws-node.*
- tail: coredns.*
[FILTER]
- kubernetes (for each tag)
- nest / modify filters for restructuring log fields
[OUTPUT]
- cloudwatch (for each tag)
Additional context
- The error reappeared immediately after audit.log rotation on Mar 11.
- Even if rotation is related, we cannot explain why the error continues afterward.
- AWS Support could not identify a root cause and recommended checking with Fluent Bit maintainers.
Questions
- Under what conditions does the parser return
time string length is too long?
- Could audit.log rotation trigger this behavior?
- Are there any known issues with parsing audit.log timestamps?
- What additional information would be helpful for further investigation?
Bug Report
Describe the bug
Fluent Bit is intermittently reporting the following parser error:
This error occurred once on Feb 5th, then did not appear for about a month, and started happening again from Mar 11th onward.
No configuration changes were made to Fluent Bit, EKS, or our application during this period.
AWS Support suggested that audit.log rotation around Mar 11 might have triggered the issue, but the root cause remains unclear.
To Reproduce
/var/log/audit/audit.logExpected behavior
time string length is too longScreenshots
Your Environment
[INPUT]
[FILTER]
[OUTPUT]
Additional context
Questions
time string length is too long?