Dashboards & Visualizations

Javascript sdk capabilities

newatsplunk
Explorer

I was recently introduced to splunk, and am currently trying to work on a prototype to see if we have the need for this product. I have taken a look at the documentation and it's a bit confusing to me.

Is it possible to export/integrate the charts that are generated in the Splunk web portal within an external site? Can I basically create a real time external dashboard using the splunk js sdk?

Any help would be appreciated.

aelliott
Motivator

Here is some documentation on the subject:
http://dev.splunk.com/view/javascript-sdk/SP-CAAAECM

0 Karma

newatsplunk
Explorer

I have the timeline UI working but still having troubles getting the Chart UI to work. I'm still getting the error as mentioned in the comments (Cannot read property 'Chart' of undefined - line 14 from the UI demos)

0 Karma

newatsplunk
Explorer

I'm using Chrome v31.0, also looking at the api reference for the js sdk, theres no mention about the ui functionality at all. Would you happen to know any external resources that might be helpful with this? All the links I'm finding are within splunk itself which I guess is a good thing, but not really what I'm looking for

0 Karma

aelliott
Motivator

What version of browser are you using?.. I would agree on the documentation.

0 Karma

newatsplunk
Explorer

yes, the js files are being included on load time. I ran the timeline example and there were no errors but the timeline didn't show up either? The documentation for the js UI SDK is lacking quite a bit imo

0 Karma

aelliott
Motivator

did you verify your path to the splunk.ui.charting.js was correct and that it is including it on load time?

The javascript files should be within the sdk : http://dev.splunk.com/goto/sdk-javascript

0 Karma

newatsplunk
Explorer

Hi, thanks for the response, I have read through that documentation, I am currently looking at http://demos.splunk.com:6969/examples/browser/ui/index.html for the UI examples. I am running the code for the chart and get an error saying "Cannot read property 'Chart' of undefined" (line 14), any help on that? thanks again.

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