Skip to content

Commit

Permalink
Move away from deprecated container input (#8455)
Browse files Browse the repository at this point in the history
* Move away from deprecated container input

* tabs vs spaces 🤞

* Use recommended configuration for filestream based autodiscover
  • Loading branch information
pebrc authored Feb 4, 2025
1 parent a7ca929 commit 5b7813d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/e2e/beat/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,15 @@ filebeat:
default_config:
paths:
- /var/log/containers/*${data.kubernetes.container.id}.log
type: container
type: filestream
id: kubernetes-container-logs-${data.kubernetes.pod.name}-${data.kubernetes.container.id}
parsers:
- container: ~
prospector:
scanner:
fingerprint.enabled: true
symlinks: true
file_identity.fingerprint: ~
enabled: true
node: ${NODE_NAME}
type: kubernetes
Expand Down

0 comments on commit 5b7813d

Please sign in to comment.