Reporting

How do I export data out of splunk for external reporting

samdeva
Engager

I am looking to extract data out of splunk for historical reporting purpose and to integrate with other large reporting data sources. Can some one tell me how best to export data out of splunk in an automated fashion (APIs, Web Services, etc. so that we can pull at regular frequency). Thanks.

Tags (1)

lassesen
Explorer

Paul, is there any chance of getting an ODBC connector to splunk where you can simply give it the query and it pulls back a dataset?

psanford_splunk
Splunk Employee
Splunk Employee

Hi samdeva - I can help with this request. We are building out a new Python SDK and significant updates to our REST API documentation. Send me an email @: psanford@splunk.com.

Paul

0 Karma

Ayn
Legend

Easiest way would be to use Splunk's CLI search:

$SPLUNK_HOME/bin/splunk search yoursearch -maxout 0

and then grab the output in one way or another. This could be done locally on your Splunk box or remotely from some other box that you want to use for retrieving the events. More information on this is available in the docs, see for instance:

http://www.splunk.com/base/Documentation/4.1.6/Admin/AbouttheCLI

and

http://www.splunk.com/base/Documentation/latest/Developer/UseRemoteCLI

Alternatively, you could retrieve the events through Splunk's REST API. There are SDK's available for a number of languages including Python and Java so you should be able to get it up and running quickly. See http://www.splunk.com/base/Documentation/latest/Developer/RESTIntro

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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