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.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...