Skip to content
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

Cherry-pick #23417 to 7.x: Update filestream reader offset when line is skipped #23624

Merged
merged 1 commit into from
Jan 21, 2021

Commits on Jan 21, 2021

  1. Update filestream reader offset when line is skipped (elastic#23417)

    This PR adds two previously missing offset updates to the `filestream` reader when a line is skipped.
    
    The offset could be incorrect if Filebeat skips the line if the line should not be published because of user configuration in `export_line` or `import_line`
    
    If the offset is not updated in the reader, the state information of newer published events become incorrect. This might lead to duplicated events if Filebeat is restarted.
    
    (cherry picked from commit e5cd64f)
    kvch committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    1861631 View commit details
    Browse the repository at this point in the history