Getting Data In

Exporting scheduled reports as csv

zijian
Explorer

Hi,

there are 72 links to scheduled splunk reports that I have to access and download the reports individually on a monthly basis.

I would like to know if there are any faster ways to download them.

 

Regards,

Zijian

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @zijian,

you have two choices:

1)

schedule an alert adding csv as attachement, to receive the csv via email.

2)

you could schedule a report adding the outputcsv command at the end.

In this way, you save your report as csv in a pre-defined folder (not changeable!).

then you should create a script to copy it in the location you like.

 

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @zijian,

you have two choices:

1)

schedule an alert adding csv as attachement, to receive the csv via email.

2)

you could schedule a report adding the outputcsv command at the end.

In this way, you save your report as csv in a pre-defined folder (not changeable!).

then you should create a script to copy it in the location you like.

 

Ciao.

Giuseppe

PickleRick
SplunkTrust
SplunkTrust

You can also script it with bash/curl or python.

Get Updates on the Splunk Community!

Video | Welcome Back to Smartness, Pedro

Remember Splunk Community member, Pedro Borges? If you tuned into Episode 2 of our Smartness interview series, ...

Detector Best Practices: Static Thresholds

Introduction In observability monitoring, static thresholds are used to monitor fixed, known values within ...

Expert Tips from Splunk Education, Observability in Action, Plus More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...