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

Add structured logging to logs input #25299

Merged
merged 6 commits into from
Apr 28, 2021
Merged

Add structured logging to logs input #25299

merged 6 commits into from
Apr 28, 2021

Commits on Apr 25, 2021

  1. Add structured logging to logs input

    The logging of the logs input is updated to make use of structured
    logging. Each logs input instance will create an unique ID, that will be
    logged as "input_id".
    The input and harvester will also add file state information like:
    source, state_id, finished, os_id. The os_id holds the inode, and
    state_id is the ID that is used internally by filebeat to track the
    file.
    
    By filtering the logs for one or the other ID, one can track all
    logs at a different level. Filtering by "state_id" allows us to monitor
    all logs and state changes for a given file, even if the file is
    renamed, closed and reopened.
    urso committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    0ed994a View commit details
    Browse the repository at this point in the history
  2. fix import order

    urso committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    2c8015c View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. review

    urso committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    2aef391 View commit details
    Browse the repository at this point in the history
  2. adapt some fixes

    urso committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    4bbb8e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. add changelog

    urso committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    9be9682 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into fb-logs-log

    urso committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    ba8fdde View commit details
    Browse the repository at this point in the history