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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...