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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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