Getting Data In
Highlighted

How do you send a Splunk report to a network drive?

New Member

Hello,

I have a user wanting to send a Splunk report (.csv) to a network drive. I read your post on "Trigger a PDF via the command line". I believe my particular task is a little different but follows the same concept.

Can you kindly provide some guidance?

Much Appreciated,
Cheers!!!

Tags (3)
0 Karma
Highlighted

Re: How do you send a Splunk report to a network drive?

Influencer
0 Karma
Highlighted

Re: How do you send a Splunk report to a network drive?

New Member

I have not but will give it a read, thank you.

0 Karma
Highlighted

Re: How do you send a Splunk report to a network drive?

Esteemed Legend

The way that I do it is to come up with a file-name-prefix convention (like CopyMeToDriveF_) and then use | outputcsv CopyMeToDriveF_whatever.csv on the end of your search. Then you have to setup a cron or powershell job to do: cp $SPLUNK_HOME/var/run/dispatch/splunk/CopyMeToDriveF* F: or similar.

0 Karma