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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...