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!

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 ...