diff options
author | makefunstuff <[email protected]> | 2024-06-29 22:15:59 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-29 22:15:59 +0200 |
commit | 778fb4fc46bc18d9a5a55d059c8409fc5493f4e1 (patch) | |
tree | 2100b7366f5cf760268cce5b23583aea77736ab0 /tools/eck-operator/templates | |
parent | 55613654f7784eac4a5c6a80b60454ca7e443814 (diff) | |
download | k3s-lab-778fb4fc46bc18d9a5a55d059c8409fc5493f4e1.tar.gz |
add metada
Diffstat (limited to 'tools/eck-operator/templates')
-rw-r--r-- | tools/eck-operator/templates/beat.yaml | 13 |
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: |