-
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] offset not correctly recorded when max_bytes is exceeded in linereader #28317
Labels
Comments
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Oct 7, 2021
This issue doesn't have a |
leehinman
changed the title
offset not correctly recorded when max_bytes is exceeded in linereader
[Filebeat] offset not correctly recorded when max_bytes is exceeded in linereader
Oct 7, 2021
3 tasks
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Oct 12, 2021
leehinman
added a commit
that referenced
this issue
Oct 13, 2021
* [Filebeat] keep track of bytes read when max_bytes exceeded in LineReader Closes #28317
leehinman
added a commit
that referenced
this issue
Oct 13, 2021
…28379) * [Filebeat] keep track of bytes read when max_bytes exceeded in LineReader Closes #28317 (cherry picked from commit dad462c) Co-authored-by: Lee E Hinman <[email protected]>
Icedroid
pushed a commit
to Icedroid/beats
that referenced
this issue
Nov 1, 2021
…28352) * [Filebeat] keep track of bytes read when max_bytes exceeded in LineReader Closes elastic#28317
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Simple log file:
log input with
max_bytes: 128
results in skipping theX...X
line, but the offset for thetwo
message is 4, it should be 16,389. Also in thedata/registry/filebeat/log.json
file the offset is recorded as 8.This results in the harvester starting from 8, and resending the
two
message, but now with offset8
, and then the registry is updated to offset of 12. This results in resending thetwo
message every 5 minutes until the registry catches up to the correct offset.The LineReader should skip the data when max_bytes is exceeded but it should keep track of the correct offset.
The text was updated successfully, but these errors were encountered: