#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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...