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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.66] - Unreleased
## [0.0.67] - Unreleased

## [0.0.66] - 2021-06-29

### Changed
- Openshift: Added observiq-agent and bindplane-agent filters to avoid potential circular parsing ([PR289](https://github.com/observIQ/stanza-plugins/pull/289))

### Changed
- Reduced sqlserver max_reads from 1000 to 100, to combat too many open files error ([PR288](https://github.com/observIQ/stanza-plugins/pull/288))
Expand Down
6 changes: 6 additions & 0 deletions plugins/openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ pipeline:
# 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
# Ignore logs written by observiq-agent to avoid circular parsing
- expr: '$record._COMM == "dockerd-current" and $record.CONTAINER_NAME != nil and $record.CONTAINER_NAME matches "observiq-agent"'
output: drop_output
# Ignore logs written by bindplane-agent to avoid circular parsing
- expr: '$record._COMM == "dockerd-current" and $record.CONTAINER_NAME != nil and $record.CONTAINER_NAME matches "bindplane-agent"'
output: drop_output
# Send all container logs to the container name parser
- expr: '$record._COMM == "dockerd-current" and $record.CONTAINER_NAME != nil'
output: '{{ if $enable_container_logs -}} regex_parser {{- else -}} drop_output {{- end }}'
Expand Down