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!

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