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!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...