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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...