diff --git a/install/docker/console-db-es-ls-kibana/cws-logstash.conf b/install/docker/console-db-es-ls-kibana/cws-logstash.conf index 14c73109..43c7e88c 100644 --- a/install/docker/console-db-es-ls-kibana/cws-logstash.conf +++ b/install/docker/console-db-es-ls-kibana/cws-logstash.conf @@ -32,13 +32,7 @@ filter { ] } - date { - match => [ "logdate", "ISO8601" ] - timezone => "UTC" - locale => en - remove_field => [ "logdate" ] - } - + if [logLevel] == "WARNING" { mutate { update => { "logLevel" => "WARN" } diff --git a/install/docker/worker-ls/cws-logstash.conf b/install/docker/worker-ls/cws-logstash.conf index 9179bc7e..30e207ad 100644 --- a/install/docker/worker-ls/cws-logstash.conf +++ b/install/docker/worker-ls/cws-logstash.conf @@ -31,14 +31,9 @@ filter { "message", '%{GREEDYDATA:msgBody}' ] } - - date { - match => [ "logdate", "ISO8601" ] - timezone => "UTC" - locale => en - remove_field => [ "logdate" ] - } - + + + if [logLevel] == "WARNING" { mutate { update => { "logLevel" => "WARN" } diff --git a/install/logging/cws-logstash.conf b/install/logging/cws-logstash.conf index 124b34b6..61da34eb 100644 --- a/install/logging/cws-logstash.conf +++ b/install/logging/cws-logstash.conf @@ -33,12 +33,6 @@ filter { ] } - date { - match => [ "logdate", "ISO8601" ] - timezone => "UTC" - locale => en - remove_field => [ "logdate" ] - } if [logLevel] == "WARNING" { mutate {