Splunk Search

possible to get raw data instead of csv in script?

alexl1
Path Finder

hi,

I have a script that uses this code http://splunk-base.splunk.com/answers/45794/want-to-forward-contents-of-stdin-to-my-script

but output is in csv format, is there a way to get the raw data instead?

Tags (3)
0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee
 * | table _raw | outputcsv mysearch

This will output the results to $SPLUNK_HOME/var/run/splunk/mysearch.csv with just pure raw data in it.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...