Dashboards & Visualizations

Java Script isn't working on HTML page uploaded in Splunk

Raghork
Loves-to-Learn Lots

I created an HTML page with css and java script inside. I uploaded correctly in Splunk (I can see the HTML) but seems that java script isn't working but when I start the HTML page in local it works perfectly.

Any idea that solves the problem?

 

Thanks in advance and sorry for my bad English 🙂 

Labels (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@Raghork 

You can troubleshoot the issue by checking any JS errors in your dashboard by inspect Element.

Screenshot 2022-04-26 at 7.00.15 PM.png

You can also check whether your JS is properly getting loaded into browser or not, For that just check network tab after opening Inspect element. 

If issue is still there then please share sample code of your dashboard So we can see it.

 

Thanks
KV


If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated. 

0 Karma
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...