Skip to content

Commit

Permalink
Add filestream ID on standalone kubernetes manifest (#742)
Browse files Browse the repository at this point in the history
This commit add unique IDs for the filestream inputs used by the
Kubernetes integration in the Elastic-Agent standalone
Kubernetes configuration/manifest file.
  • Loading branch information
belimawr authored Jul 22, 2022
1 parent d84b957 commit be3c48e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
- Allow ':' characters in dynamic variables {issue}624[624] {pull}680[680]
- Allow the - char to appear as part of variable names in eql expressions. {issue}709[709] {pull}710[710]
- Allow the / char in variable names in eql and transpiler. {issue}715[715] {pull}718[718]
- Fix data duplication for standalone agent on Kubernetes using the default manifest {issue-beats}31512[31512] {pull}742[742]

==== New features

Expand Down
2 changes: 2 additions & 0 deletions deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ data:
fields:
ecs.version: 1.12.0
- name: container-log
id: container-log-${kubernetes.pod.name}-${kubernetes.container.id}
type: filestream
use_output: default
meta:
Expand All @@ -252,6 +253,7 @@ data:
paths:
- /var/log/containers/*${kubernetes.container.id}.log
- name: audit-log
id: audit-log
type: filestream
use_output: default
meta:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ data:
fields:
ecs.version: 1.12.0
- name: container-log
id: container-log-${kubernetes.pod.name}-${kubernetes.container.id}
type: filestream
use_output: default
meta:
Expand All @@ -252,6 +253,7 @@ data:
paths:
- /var/log/containers/*${kubernetes.container.id}.log
- name: audit-log
id: audit-log
type: filestream
use_output: default
meta:
Expand Down

0 comments on commit be3c48e

Please sign in to comment.