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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...