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 #21911 to 7.x: [Filebeat] Prevent 'log' sending duplicate messages due to renaming #23743

Merged
merged 1 commit into from
Feb 1, 2021

Commits on Jan 28, 2021

  1. Prevent log input from sending duplicate messages due to file renaming (

    elastic#21911)
    
    Input:Log: Reset TTL of registry state when a file is renamed. In some
    rare cases the registry state is marked for removal (TTL is set to 0)
    while the file is only renamed. Log detects the renaming of the file
    and updates the name of the file. As the file still exists it should
    also update the TTL of the renamed file.
    
    (cherry picked from commit bb50d32)
    williamd67 authored and jsoriano committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    c749a72 View commit details
    Browse the repository at this point in the history