Dashboards & Visualizations

How to use Splunk SDK for Javascript to access Splunk dashboards?

sachinkumar4acc
New Member

I would like to write the Javascript API to access Splunk dashboards whatever i have created. Can anybody help me in this regards. I should get the Splunk dashboards into client app.

0 Karma

lguinn2
Legend

Dashboards are converted to HTML code that is rendered in your browser. I don't understand how you want that to happen via the SDK... AFAIK, you can retrieve information about a dashboard in SDK. But I don't believe that you can ask the SDK to return a dashboard that can be displayed...

However, you can create an embedded report that may do just what you want. Take a look at this answer
Can Splunk dashboards be called via REST API

0 Karma

sachinkumar4acc
New Member

Thanks Iguinn..

As you are aware that Splunk mobile app gets the dashboard using the Splunk mobile access server (Nodejs -earlier). If we go through the Splunk mobile app, we can view our dashboards in our mobile and also get the alerts. I just wanted to duplicate this functionality means that i would like to display client related dashboards in client app instead using the splunk mobile app.

Can you please let me know.

0 Karma

niketn
Legend

Have you checked out Splunk SDK for Javascript example on http://dev.splunk.com/javascript and http://dev.splunk.com/view/javascript-sdk/SP-CAAAEDD?

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

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...