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

[8.9](backport #36399) Remove 'onFilteredOut' and 'onDroppedOnPublish' callback logs #36486

Closed
wants to merge 2 commits into from

Commits on Sep 1, 2023

  1. Remove 'onFilteredOut' and 'onDroppedOnPublish' callback logs (#36399)

    The 'onFilteredOut' and 'onDroppedOnPublish' callbacks debug logs can
    cause an infinity loop of log entries being logged over and over again
    when running under Elastic-Agent. Those log entries are removed to
    prevent this from happening in the future.
    
    The monitoring Filebeat uses a drop processor to drop its own logs,
    however if log level is debug the `onFilteredOut` callback debug log
    will log all dropped events, because it is done by the monitoring
    Filebeat, it will be picked up, dropped and logged again, creating
    this infinity loop.
    
    (cherry picked from commit dde4079)
    belimawr authored and mergify[bot] committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    1ebe103 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75c8582 View commit details
    Browse the repository at this point in the history