All Apps and Add-ons

Scheduled Export of Indexed Data (SEND) to File: How to send search results to CSV in plain txt format?

pkaranam
New Member

Hi,

I have installed the Scheduled Export of Indexed Data (SEND) to File add-on: https://splunkbase.splunk.com/app/2914/
I am trying to export the query output from add-on page provided steps. But the output is not storing as Splunk search output, its storing some coded format.

Just want to understand can we store the output as we see in Splunk search output (like table format in csv file).

Please help with the changes/setting.

Thanks!
Pavan

0 Karma

aakwah
Builder

Hello,

Yes you can export search results to csv file using outputcsv command.

Your search query | outputcsv results.csv

You will find the file in this directory:

 $SPLUNK_HOME/var/run/splunk/results.csv

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Outputcsv

Regards

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...