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

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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...