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!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...