Splunk Dev

Read Splunk Logs via API

mayankaisera
Engager

Is there a way to read logs generated by Splunk via API or SDK, I will be very grateful if someone can please share their thoughts on this.

Labels (1)
0 Karma

burwell
SplunkTrust
SplunkTrust

Hi. You mention logs generated by Splunk. Do you want _internal etc?

You can use API to specify an adhoc search or get the results of a previously run savedsearch or run a savedsearch that you have created before (and then you specify the time period to run the job over.)

There are Splunk SDK in many languages including Python and Java. Check out https://dev.splunk.com/enterprise/docs/welcome/

There are links to github to download working examples.

Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...