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

avoid circular parsing for observiq-agent and bindplane-agent #289

Merged
merged 2 commits into from
Jun 29, 2021

Conversation

jsirianni
Copy link
Member

@jsirianni jsirianni commented Jun 29, 2021

This change allows the openshift plugin to avoid parsing log agent logs from the observiq-agent and bindplane-agent. These agents do not currently write to stdout / stderr but it is possible they will in the future. It is also possible that some users convert from bindplane / observiq agents to stanza for headless configuration. This conversion will likely retain the original pod names.

We already drop output from pods matching stanza

      # Ignore logs written by Stanza to avoid circular parsing
      - expr: '$record._COMM == "dockerd-current" and $record.CONTAINER_NAME != nil and $record.CONTAINER_NAME matches "stanza"'
        output: drop_output

@jsirianni jsirianni requested a review from schmikei June 29, 2021 19:24
@jsirianni jsirianni merged commit d457b26 into master Jun 29, 2021
@jsirianni jsirianni deleted the openshift-avoid-circular-parsing branch June 29, 2021 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants