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!

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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...