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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...