Getting Data In

Exporting Reports Automatically to Specific Location

mavilla
Explorer

Hi all,

I am looking for an automated way to export reports on a recurring schedule and to a location other than the the default where the outputscsv command saves them to. I found a few older questions and answers posted but I wanted to see if there was an updated answer to this. Thanks splunkers!

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @mavilla,

you have two solutions to your questions:

  • modify the python script that saves the csv in the default folder (I don't hint this solution!),
  • create a scheduled shell script that moves the csv from the default folder in the correct destination folder.

Ciao.

Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mavilla,

you have two solutions to your questions:

  • modify the python script that saves the csv in the default folder (I don't hint this solution!),
  • create a scheduled shell script that moves the csv from the default folder in the correct destination folder.

Ciao.

Giuseppe

0 Karma

mavilla
Explorer

Thank you @gcusello! I will look into these options and maybe leveraging other tools as well.

Thanks,

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mavilla,

good for you, see next time!

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated 😉

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...