about summary refs log tree commit diff
path: root/tools/eck-operator
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eck-operator')
-rw-r--r--tools/eck-operator/templates/beat.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/eck-operator/templates/beat.yaml b/tools/eck-operator/templates/beat.yaml
index 0b9edd4..2621bf9 100644
--- a/tools/eck-operator/templates/beat.yaml
+++ b/tools/eck-operator/templates/beat.yaml
@@ -12,6 +12,19 @@ spec:
     - type: container
       paths:
       - /var/log/containers/*.log
+      processors:
+      - add_kubernetes_metadata:
+          in_cluster: true
+          host: ${NODE_NAME}
+          matchers:
+          - logs_path:
+              logs_path: "/var/log/containers/"
+    filebeat.config.modules:
+      path: ${path.config}/modules.d/*.yml
+      reload.enabled: false
+    processors:
+      - add_cloud_metadata: ~
+      - add_host_metadata: ~
   daemonSet:
     podTemplate:
       spec: