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!

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...