Getting Data In

How to remove inner double quotes from json data??

AzmathShaik
Path Finder

Hello

i am trying to remove inner double quotes from json data

here is my sample data:

{"msg": "the message "is printed" here is " having extra double" quote " }

i want to remove the inner double quotes while indexing.
can any one help me in it

Thanks in advance.

0 Karma

gokadroid
Motivator

Try this answer which is exactly similar to what you are asking:

https://answers.splunk.com/answers/477298/how-to-remove-characters-in-my-json-raw-data-so-it.html#an...

Basically using the SEDCMD in your props.conf

0 Karma

AzmathShaik
Path Finder

sorry it didn't worked for me

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...