Help is needed
What is the syntax for using "grok mutate gsub" to replace double quotes with single quotes when using logstash.
Thank,
Do you want this? The mutate filter will change the entire double quote to a single quote.
filter { mutate { gsub => ["message","\"","'"] } }
It works:
mutate { gsub => ['message','\"','`'] }
For some reason, escaping for a single quote (to replace double quotes) does not work, so it is used `as a compromise
gsub. . :
filter { mutate { gsub => ['message','"',"'"] } }
Source: https://habr.com/ru/post/1532665/More articles:Find duplicate elements in associative array with non-sequential index - bashPCA RGB Images - pythonhow to get video orientation in iOS after saving to server - ioshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1532663/joining-stream-of-ints-to-a-string-typecast-problems&usg=ALkJrhgzIB0slNZiZTuyWvUlUjUBgSRUTAiOS Autolayout rotation Application Failure - iosPerhaps the opposite is LIKE% ...%? - mysqlLabeling X-axis HighCharts - highchartsGradle Build error due to duplicate entry in strings.xml file - androidXmlDocument - SelectSingleNode with namespace - c #Google API chart in ASP.NET MVC - c #All Articles