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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...