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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

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