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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...