Dashboards & Visualizations

Why won't my Javascript load after transferring the file into the Splunk application?

patricianaguit
Explorer

I transferred my javascript file into my Splunk application. After that, I did the bump and refresh method.
When went to my dashboard, my javascript wouldnt load, and I'm getting this error:
![alt text][1]

I already changed the mode in my backend access

What should I do?

Tags (2)
0 Karma
1 Solution

paramagurukarth
Builder

I think I didn't got your question.. I am just answering my guess

This is the link to access a javascript (or any file ) in the /appserver/static/ folder of an application

http://localhost:8000/static/app/<your_app_name>/<your_file_name_with_extension>;

Also, here you can find answers for all your questions related to Javascript/Splunk

View solution in original post

0 Karma

paramagurukarth
Builder

I think I didn't got your question.. I am just answering my guess

This is the link to access a javascript (or any file ) in the /appserver/static/ folder of an application

http://localhost:8000/static/app/<your_app_name>/<your_file_name_with_extension>;

Also, here you can find answers for all your questions related to Javascript/Splunk

0 Karma

MuS
Legend

quick shot: your error says /app/search/tooltip_js.js not found, but the file is in the redbar system_heath app

patricianaguit
Explorer

Tried to look for the file in the search app, but its not there?

0 Karma

MuS
Legend

That's exactly my point, your dashboard is trying to load the js from the search app! Move your dashboard into the other redbar system_heath app and it should work.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...