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

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

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...