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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...