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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...