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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...