aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--elasticstack/logstash/conf/onap-pipeline.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/elasticstack/logstash/conf/onap-pipeline.conf b/elasticstack/logstash/conf/onap-pipeline.conf
index 5b32038..a382edc 100644
--- a/elasticstack/logstash/conf/onap-pipeline.conf
+++ b/elasticstack/logstash/conf/onap-pipeline.conf
@@ -130,6 +130,7 @@ filter {
"message" => ["%{TIMESTAMP_ISO8601:Timestamp}\t%{GREEDYDATA:Thread}\t%{SPACE}%{LOGLEVEL:loglevel}%{SPACE}\t%{JAVACLASS:Logger}\t(?:[^\t]+\t)*%{GREEDYDATA:message}",
"(?<MDCs>.*\t)"
]
+ "source" => ["/var/log/onap/(?<componentName>[^/]+)/"]
}
overwrite => ["message"]
}