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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...