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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...