From b5232342071c48aa472cca6bb39a524b4977a78e Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 23 Feb 2024 15:17:17 +0800 Subject: [PATCH] update filebeat drop fields --- dev-upgrade/elastic/filebeat.yaml | 2 +- prod-upgrade/elastic/filebeat.yaml | 2 +- tcs-upgrade/elastic/filebeat.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-upgrade/elastic/filebeat.yaml b/dev-upgrade/elastic/filebeat.yaml index 920c417..96aa440 100644 --- a/dev-upgrade/elastic/filebeat.yaml +++ b/dev-upgrade/elastic/filebeat.yaml @@ -26,7 +26,7 @@ data: processors: - add_cloud_metadata: ~ - drop_fields: - fields: ["ecs","agent"] + fields: ["ecs","agent","@version"] filebeat.inputs: - type: log diff --git a/prod-upgrade/elastic/filebeat.yaml b/prod-upgrade/elastic/filebeat.yaml index 5aebeba..a922623 100644 --- a/prod-upgrade/elastic/filebeat.yaml +++ b/prod-upgrade/elastic/filebeat.yaml @@ -26,7 +26,7 @@ data: processors: - add_cloud_metadata: ~ - drop_fields: - fields: ["ecs","agent"] + fields: ["ecs","agent","@version"] filebeat.inputs: - type: log diff --git a/tcs-upgrade/elastic/filebeat.yaml b/tcs-upgrade/elastic/filebeat.yaml index 6f187bb..2807ba1 100644 --- a/tcs-upgrade/elastic/filebeat.yaml +++ b/tcs-upgrade/elastic/filebeat.yaml @@ -26,7 +26,7 @@ data: processors: - add_cloud_metadata: ~ - drop_fields: - fields: ["ecs","agent"] + fields: ["ecs","agent","@version"] filebeat.inputs: - type: log