Dashboards & Visualizations

How do I integrate a javascript panel into a Splunk 6.1 dashboard?

rlough
Path Finder

Hi,

I've heard a lot about cool things that can be done using javascript and Splunk, so I was wondering if someone could explain to me how I could go about creating a javascript panel on one of my dashboards.

Thank you in advance!

0 Karma
1 Solution

thomrs
Communicator

Check out the example app, lots of working examples.

https://apps.splunk.com/app/1603/

View solution in original post

thomrs
Communicator

Check out the example app, lots of working examples.

https://apps.splunk.com/app/1603/

martin_mueller
SplunkTrust
SplunkTrust

You can put your own JS into a dashboard by converting it to HTML. In the long run it'd be best to get your JS added to your apps as a reusable piece though.

rlough
Path Finder

So with the HTML, do I just paste it in the XML? Sorry if I sound completely dumb on this topic.

0 Karma

thomrs
Communicator

When editting a dashboard there is an option to convert to HTML.

rlough
Path Finder

I see, it looks like that option is disabled for me.
Thanks anyways!

0 Karma

rlough
Path Finder

Is there a way to add javascript without an app? I don't have app-altering privileges and was hoping to be able to do this directly on the dashboard.

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