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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...