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.

Labels (1)
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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...