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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...