Reporting

OUTPUTCSV -- No Quotes Please

vragosta
Path Finder

OUTPUTCSV is currently appending search results surrounded in quotes, like "1.1.1.1."

Is it possible for OUTPUTCSV to NOT surround the output in quotes?

Thanks!

Tags (1)

MuS
Legend

Hi vragosta,

no, this is probably done to handle any non-alphanumeric character correct. See this answer http://answers.splunk.com/answers/114632/when-does-splunk-add-double-quotation-in-outputcsv.html for more details.

cheers, Mus

0 Karma

MuS
Legend

or use a simple trim after the lookup?

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

jeffreygaraygay
Explorer

Hello, were you able to get your issue with outputcsv having csv output in quotes resolved?

Thanks,
Jeff

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...