Splunk Search

How to retrieve data from Splunk dashboard and display results in Java Spring boot applications using SplunkSDK/ ..?

kanurag1795
Engager

How can we retrieve the data from Splunk dashboard and display the results in Java Spring boot applications using Splunk SDK/ Splunk Rest API's.

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@kanurag1795 

1) Create a saved search or schedule search (As per your requirement) per Dashboard Panels. 

2) Use Splunk Java SDK to connect with Splunk and execute searches to get data in your required output mode. 

Refer below link for examples.

https://github.com/splunk/splunk-sdk-java/tree/master/examples

https://dev.splunk.com/enterprise/docs/devtools/java/sdk-java/gettingstartedsdkjava

 

I hope this will help you.

Thanks
KV
If any of my replies help you to solve the problem Or gain knowledge, an upvote would be appreciated.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...