All Apps and Add-ons

We have a Dashboard, can we expose it through REST API? Could someone please share working example?

Hunterzz
New Member

we need to expose splunk dashboard as an API, so that an external TIBCO middleware system can consume it.

we really appreciate, if we could get working example?

0 Karma

efavreau
Motivator

There is discussion in the comments on this page: https://docs.splunk.com/Documentation/Splunk/6.6.6/RESTTUT/RESTsearches
Your dashboard is a series of live queries or scheduled reports, correct? So you need to consume a series of queries (scheduled or otherwise), that result in exactly the stats tables you desire. Then have your middleware consume each query via the rest api.

###

If this reply helps you, an upvote would be appreciated.
0 Karma

niketn
Legend

@Hunterzz you should check out Splunk Next Beta Splunk Developer Cloud which was introduced at Splunk .Conf last year. It allows you to export dashboard as JSON.

https://www.splunk.com/blog/2018/10/03/new-for-developers-splunk-developer-cloud-more.html
https://www.splunk.com/blog/2018/10/16/splunk-dashboards-ui-in-the-new-splunk-developer-cloud-sdc-be...

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...