Deployment Architecture

Can we send Splunk report to Unix server?

vaishnab
Loves-to-Learn

Hi Team,

I'm generating a report weekly and sending it across as an email.
However, the team wants this file to be pushed onto a directory on Unix server.

Any idea on how I can achieve this?

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @vaishnab,

are you speaking of a csv file or a pdf?

if a csv, it's possible to save search results in a csv file but only in a folder of the Search Head: $SPLUNK_HOME/var/run/splunk/csv

Then you could schedule a script that moves it in another server.

I saw a people modifying the Splunk Python script that saves reports in a different folder but I'm not sure how to do this and I'ìd avoid.

Ciao.

Giuseppe

0 Karma

vaishnab
Loves-to-Learn

Hi @gcusello ,

      I am talking about csv file only if I create csv report on splunk and download it that csv file will not found on this path- $SPLUNK_HOME/var/run/splunk/csv
any configuration needed to save the csv file on this location?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @vaishnab,

how did you create this report, using outputcsv command?

the location I described is for this command.

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...