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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...