From 297563e5d6b0f6357d2fd2e6ea800772dd7c3c8b Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sat, 29 Jun 2024 23:11:12 +0300 Subject: parse json --- tools/eck-operator/templates/logstash.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/eck-operator/templates') diff --git a/tools/eck-operator/templates/logstash.yaml b/tools/eck-operator/templates/logstash.yaml index 921ec7d..cb2ceb4 100644 --- a/tools/eck-operator/templates/logstash.yaml +++ b/tools/eck-operator/templates/logstash.yaml @@ -16,6 +16,11 @@ spec: port => 5044 } } + filter { + json { + source => "message" + } + } output { elasticsearch { hosts => [ "${DEFAULT_ES_HOSTS}" ] -- cgit 1.4.1-2-gfad0