Getting Data In

How to remove double quotes from outputlookup csv file

mvaradarajam
Path Finder

How to remove double quotes from outputlookup csv file

Tags (2)
0 Karma

MuS
Legend

Hi mvaradarajam,

you cannot remove double quotes from output lookup csv file.
Splunk will put them around any values containing any non alphanumeric character. See this answer for more details http://answers.splunk.com/answers/114632/when-does-splunk-add-double-quotation-in-outputcsv.html

Anyhow, why is this a problem to you?
Can't you simply use something like this on the lookup fields:

... | head 1 | eval foo="\"quotes\"" | eval boo=trim(foo, "\"") | table foo boo

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...