Filebeat: Lowered fingerprint length
This commit is contained in:
parent
8da13b3b5a
commit
cdaa7b1038
@ -5,23 +5,23 @@ metadata:
|
||||
namespace: app-notifications
|
||||
data:
|
||||
filebeat.yml: |
|
||||
filebeat.autodiscover:
|
||||
providers:
|
||||
- type: kubernetes
|
||||
node: ${NODE_NAME}
|
||||
hints.enabled: true
|
||||
templates:
|
||||
- condition:
|
||||
equals:
|
||||
kubernetes.namespace: "app-notifications"
|
||||
config:
|
||||
- type: container
|
||||
paths:
|
||||
- /var/log/containers/*_app-notifications_*.log
|
||||
filebeat.inputs:
|
||||
- type: filestream
|
||||
id: kubernetes-containers
|
||||
paths:
|
||||
- /var/log/containers/*_app-notifications_*.log
|
||||
prospector:
|
||||
scanner:
|
||||
fingerprint.enabled: true
|
||||
fingerprint.offset: 0
|
||||
fingerprint.length: 512
|
||||
parsers:
|
||||
- container: ~
|
||||
|
||||
processors:
|
||||
- add_kubernetes_metadata:
|
||||
in_cluster: true
|
||||
host: ${NODE_NAME}
|
||||
- drop_event:
|
||||
when:
|
||||
not:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user