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
Legend

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
Legend

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
Legend

Hi @mavilla,

good for you, see next time!

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated 😉

0 Karma
Get Updates on the Splunk Community!

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...

Ready, Set, SOAR: How Utility Apps Can Up Level Your Playbooks!

 WATCH NOW Powering your capabilities has never been so easy with ready-made Splunk® SOAR Utility Apps. Parse ...

DevSecOps: Why You Should Care and How To Get Started

 WATCH NOW In this Tech Talk we will talk about what people mean by DevSecOps and deep dive into the different ...