Dashboards & Visualizations

how to add custom visualization in dashboard and where we need to add the js and css?

nagalalitha
New Member

I need to create the dashboard as below:
I am giving the reference link: http://bl.ocks.org/NPashaP/96447623ef4d342ee09b

I have added js and css files in splunk C:\Program Files\Splunk\etc\apps\search\appserver\static

I am not getting the correct result . Let me know where I am doing wrong.

Tags (1)
0 Karma

dkeck
Influencer

Please accept answer, if it was helpfull.

Thank you

0 Karma

dkeck
Influencer

Hi,

the example only got inline code, if you copied the code to css and js files you have to link it in the XML.

Like this:

<form script="filename.js" stylesheet="filename.css">

Maybe thats what you are missing?

Pls be aware that you have to restart splunk and/or clean the cache of your browser.

Kind Regards

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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