From 5b2ac50ff701f387c0d6f4aac767d1b8f6216a91 Mon Sep 17 00:00:00 2001 From: Yashwant Bokadia Date: Fri, 29 Nov 2024 01:57:33 +0530 Subject: [PATCH] filter update --- diagnostics/opensearch/logstash/logstash.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/diagnostics/opensearch/logstash/logstash.conf b/diagnostics/opensearch/logstash/logstash.conf index 586248f..54dce95 100644 --- a/diagnostics/opensearch/logstash/logstash.conf +++ b/diagnostics/opensearch/logstash/logstash.conf @@ -28,11 +28,11 @@ filter { } mutate { - gsub => [ - "[records][properties]", "'", "\"", - "[records][properties]", "\\\\", "\\", - "[records][properties]", "None", "null" - ] + gsub => [ "[records][properties]", '\'', '"' ] + } + + mutate { + gsub => [ "[records][properties]", "None", "null" ] } json {