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!

Meet Duke Cyberwalker | A hero’s journey with Splunk

We like to say, the lightsaber is to Luke as Splunk is to Duke. Curious yet? Then read Eric Fusilero’s latest ...

The Future of Splunk Search is Here - See What’s New!

We’re excited to introduce two powerful new search features, now generally available for Splunk Cloud Platform ...

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...