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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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 ...