From 64f6180b308f278a5a3ed410079713cb4a67191f Mon Sep 17 00:00:00 2001 From: bhushan-dc Date: Wed, 25 Sep 2024 11:22:20 +0530 Subject: [PATCH] small change --- diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml | 2 ++ diagnostics/opensearch/filebeat/conf/filebeat.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml b/diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml index 87d08ad..8718a54 100644 --- a/diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml +++ b/diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml @@ -13,6 +13,8 @@ filebeat.inputs: paths: - "/opt/data/log/*/*.log" fields_under_root: true + fields: + log_type: log.tomcat-interface processors: #Drop events from other namespaces except Duplo tenants. - drop_event: diff --git a/diagnostics/opensearch/filebeat/conf/filebeat.yml b/diagnostics/opensearch/filebeat/conf/filebeat.yml index c960b02..1d8bcfb 100644 --- a/diagnostics/opensearch/filebeat/conf/filebeat.yml +++ b/diagnostics/opensearch/filebeat/conf/filebeat.yml @@ -13,6 +13,8 @@ filebeat.inputs: paths: - "/opt/data/log/*/*.log" fields_under_root: true + fields: + log_type: log.tomcat-interface processors: - add_cloud_metadata: ~ - add_fields: