From 94fe53b3b08071f84766d0f07c0a10b5c066ada6 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 23 Feb 2024 15:05:43 +0800 Subject: [PATCH] update filebeat drop fields --- dev-upgrade/elastic/filebeat.yaml | 2 ++ prod-upgrade/elastic/filebeat.yaml | 2 ++ tcs-upgrade/elastic/filebeat.yaml | 3 +++ 3 files changed, 7 insertions(+) diff --git a/dev-upgrade/elastic/filebeat.yaml b/dev-upgrade/elastic/filebeat.yaml index 0af5fd6..9bd6603 100644 --- a/dev-upgrade/elastic/filebeat.yaml +++ b/dev-upgrade/elastic/filebeat.yaml @@ -25,6 +25,8 @@ data: processors: - add_cloud_metadata: ~ + - drop_fields: + fields: ["ecs","agent.type","agent.id","agent.version","agent.ephemeral_id","agent.name"] filebeat.inputs: - type: log diff --git a/prod-upgrade/elastic/filebeat.yaml b/prod-upgrade/elastic/filebeat.yaml index b224ad1..7412b8f 100644 --- a/prod-upgrade/elastic/filebeat.yaml +++ b/prod-upgrade/elastic/filebeat.yaml @@ -25,6 +25,8 @@ data: processors: - add_cloud_metadata: ~ + - drop_fields: + fields: ["ecs","agent.type","agent.id","agent.version","agent.ephemeral_id","agent.name"] filebeat.inputs: - type: log diff --git a/tcs-upgrade/elastic/filebeat.yaml b/tcs-upgrade/elastic/filebeat.yaml index ca1288d..88d954e 100644 --- a/tcs-upgrade/elastic/filebeat.yaml +++ b/tcs-upgrade/elastic/filebeat.yaml @@ -25,6 +25,8 @@ data: processors: - add_cloud_metadata: ~ + - drop_fields: + fields: ["ecs","agent.type","agent.id","agent.version","agent.ephemeral_id","agent.name"] filebeat.inputs: - type: log @@ -45,6 +47,7 @@ data: compression: gzip max_message_bytes: 1000000 + --- apiVersion: apps/v1 kind: DaemonSet