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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...