Getting Data In

Looking for alternatives to outputcsv in a Cloud deployment

tomapatan
Communicator

Hi,

Can someone recommend a way to save the results of a Splunk search locally or to shared drive? We`re using a hybrid deployment (Cloud and Enterprise), but the data we require is available in Cloud only.

Many thanks,

Toma

Labels (1)
0 Karma
1 Solution

Gr0und_Z3r0
Contributor

Hi @tomapatan 

You can use the REST API services of Splunk to export the data as CSV.
https://docs.splunk.com/Documentation/Splunk/latest/Search/ExportdatausingRESTAPI

~ If the reply helps, a Karma upvote would be appreciated.

View solution in original post

PickleRick
SplunkTrust
SplunkTrust

With Cloud you don't have local access to the machines at the OS level and can't manipulate local files (and won't be able to push any apps that try to do so, they will fail vetting). So your only option is as @Gr0und_Z3r0 pointed out to use API from remote to spawn a search and then retrieve results.

Depending on the size of your output you could also try to send results via email action.

0 Karma

Gr0und_Z3r0
Contributor

Hi @tomapatan 

You can use the REST API services of Splunk to export the data as CSV.
https://docs.splunk.com/Documentation/Splunk/latest/Search/ExportdatausingRESTAPI

~ If the reply helps, a Karma upvote would be appreciated.

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...