aboutsummaryrefslogtreecommitdiff
path: root/logs-streaming/filebeat-config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'logs-streaming/filebeat-config.yml')
-rw-r--r--logs-streaming/filebeat-config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/logs-streaming/filebeat-config.yml b/logs-streaming/filebeat-config.yml
index 2df5ac7..828bdc0 100644
--- a/logs-streaming/filebeat-config.yml
+++ b/logs-streaming/filebeat-config.yml
@@ -10,8 +10,7 @@ data:
- type: log
enabled: true
paths:
- - /var/log/containers/*.log
- # Logs say a lot of https://github.com/elastic/beats/blob/v6.0.0-rc2/filebeat/prospector/log/prospector.go#L250
+ - /var/lib/docker/containers/*/*.log
symlinks: true
# reduce the risk for aggregation recursion: match pod names to exclude own's logs + test logs
exclude_files: ['^(.*\/)?logs-','^(.*\/)?test-']
@@ -19,6 +18,7 @@ data:
processors:
- add_kubernetes_metadata:
in_cluster: true
+ namespace: logs-kafka
output.kafka:
hosts: ["kafka-0.broker.kafka.svc.cluster.local:9092", "kafka-1.broker.kafka.svc.cluster.local:9092", "kafka-2.broker.kafka.svc.cluster.local:9092"]