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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...