Getting Data In

Upload csv file with escaped quotes

SplunkUser
New Member

Hello together,

I have a csv file which looks like this:

 

"Time";"Comment"

"15:53:21";"Here stands something \"very\" interesting"

 

I have nested quotes in the column "Comment". That´s why I have to escape them by using the "\". 

This is what I want to have as output:

 

"Time";"Comment"

"15:53:21";"Here stands something "very" interesting"

 

What I have tried so far is to use auto_escaped as KV_MODE which can be found in Add Data --> Select Source-->Set Source Type-->Advanced. But without success. The escape character is still there.

 

I would appreciate any helpful hints.

Labels (4)
0 Karma
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...