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
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...