-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Filebeat] keep track of bytes read when max_bytes exceeded #31824
[Filebeat] keep track of bytes read when max_bytes exceeded #31824
Conversation
@leehinman this looks like a follow up to a similar change you made elsewhere in this file, can you review it? #28352 @liuwenping is there a test case we can add for this? |
/test |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Updated |
/test |
After this change one of the tests in the reader package has started failing. #31863. |
Keep track of bytes read when max_bytes exceeded Add test code for exceeding max bytes in filebeat
What does this PR do?
Newlines also need to be recorded in the skipped characters
Why is it important?
The skipped newline character is not recorded in the registry when the
max_bytes
(maximum limit of a single line) is exceeded. as the number of long lines increases, it will cause repeated reading problemsThe relevant PR is #28352