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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...