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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...