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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...