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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...