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

[Kubernetes] Add condition configuration option to container logs data stream #4324

Merged
merged 2 commits into from
Sep 28, 2022
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
5 changes: 5 additions & 0 deletions packages/kubernetes/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.25.0"
changes:
- description: Add `condition` configuration option to container logs data stream
type: enhancement
link: https://github.com/elastic/integrations/pull/4324
- version: "1.24.0"
changes:
- description: Add fields to audit logs data stream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ paths:
- {{this}}
{{/each}}
prospector.scanner.symlinks: {{ symlinks }}
{{#if condition}}
condition: {{ condition }}
{{/if}}
parsers:
- container:
stream: {{ containerParserStream }}
Expand Down
7 changes: 7 additions & 0 deletions packages/kubernetes/data_stream/container_logs/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ streams:
multi: false
required: true
default: auto
- name: condition
title: Condition
description: Condition to filter when to apply this datastream
type: text
multi: false
required: false
show_user: true
- name: additionalParsersConfig
type: yaml
title: Additional parsers configuration
Expand Down
2 changes: 1 addition & 1 deletion packages/kubernetes/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: kubernetes
title: Kubernetes
version: 1.24.0
version: 1.25.0
license: basic
description: Collect logs and metrics from Kubernetes clusters with Elastic Agent.
type: integration
Expand Down