Dashboards & Visualizations

Using outputcsv to export logs

simonattardGO
Path Finder

Hi all,

I am using the outputcsv command to export the results to a text file as follows:

  • | outputcsv results.txt

This exports the results to $SPLUNK_HOME/var/run/splunk/results.txt

Is there a way how to change the directory where results.txt is stored?

Thanks

Labels (1)
Tags (3)
0 Karma
1 Solution

mbollipalli
New Member

Hi Team

I have similar question i use outputcsv to export search result to unix server with csv file but file did not find in server, please help me out what needs to check it fix this?

0 Karma
Get Updates on the Splunk Community!

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!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...