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.

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 ...