Getting Data In

Need to export Splunk data (our application logs) to CSV using API

swethavelamala
New Member

Our application has over 3 million records every 24 hours that we need to export using Splunk. When we tried using Reports, we were getting a maximum of 50000 records. We were suggested to use Splunk API. Can anyone help on step to step on how to connect to Splunk API. Is it a URL or something? I have no clue..

Tags (1)
0 Karma

somesoni2
Revered Legend

If don't want to use SDK's, here is how you can export data by calling REST API endpoint for search:
https://docs.splunk.com/Documentation/Splunk/7.2.5/Search/ExportdatausingRESTAPI

harsmarvania57
Ultra Champion

You can achieve this using Splunk SDK.

Splunk SDK is available in 4 different programming language, have a look at http://dev.splunk.com/sdks

Here is explanation that how to run searches and jobs using Splunk Python SDK http://dev.splunk.com/view/python-sdk/SP-CAAAEE5

Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...