From 778fb4fc46bc18d9a5a55d059c8409fc5493f4e1 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sat, 29 Jun 2024 23:15:59 +0300 Subject: add metada --- tools/eck-operator/templates/beat.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tools/eck-operator/templates') 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: -- cgit 1.4.1-2-gfad0