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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...