#Random
This is a place to discuss all things outside of Splunk, its products, and its use cases.

Splunk Cloud - update .js file in dashboard

omcollia
Engager

I have a dashboard in an app that uses a .js file. I'd like to understand how to modify it, given that I'm on Splunk Cloud. I've already searched my platform, but I can't find anything like add-ons for .js files. However, I'm sure that my file is located at it-IT/static/app/app/yourfilename.js. I'd also like to know if, after modifying my file, I need to perform any refresh.

0 Karma
1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

@omcollia- On Splunk Cloud -> You are not allowed to update JS from some other JS file in any way (programatically or manually not allowed).

So the only option you have is:

  • If App is build by you, you can update the JS and publish the new version of the App.
  • If the App is built by someone else, ask the Developer for the change if they can do that.

 

I hope this helps!!!

View solution in original post

0 Karma

DavidJonies
New Member

Splunk Cloud, you likely need admin or developer permissions to modify it. Since Splunk Cloud has restrictions on direct file modifications, you may need to package your changes as an app update and upload it via the App Manager. After modifying the file, try clearing your browser cache and refreshing Splunk (Ctrl + Shift + R). If changes don’t apply, restarting the app or reloading Splunk Web may help. For a deeper dive into this subject and to get all the necessary information, head over to the link here: https://mycompany.filemail.com/d/tlshgwozrbegjkz

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@omcollia- On Splunk Cloud -> You are not allowed to update JS from some other JS file in any way (programatically or manually not allowed).

So the only option you have is:

  • If App is build by you, you can update the JS and publish the new version of the App.
  • If the App is built by someone else, ask the Developer for the change if they can do that.

 

I hope this helps!!!

0 Karma
Get Updates on the Splunk Community!

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...