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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...