Dashboards & Visualizations

Splunk cloud bump

smalonso
Explorer

Hello,

I've uploaded an application for the third time with updates on static/handler.js
To make be sure the dashboards are not loaded from "local" I've uninstalled and install from scratch, however I didn't change my .js name.

The issue is that my dashboard continues to load the old .js, in network calls I see it's call with a "version", like: /static/@ab..../handler.js

When I browse the url deleting the version number I see my new script has been correctly installed, so I tried to call _bump, but even when the url is found, it loads an empty page (Without the button bump like in enterprise version), and my script continues to be wrongly loaded.

I'm admin and have full permission over the platform, so what can I be doing wrong?
Does anyone know if it's possible to bump on cloud?

0 Karma
1 Solution

jeffland
Champion

While I don't think you can bump on cloud versions, what you can do is increase the build number of your app in app.conf:

build = <integer>
* Must be a positive integer.
* Increment this whenever you change files in appserver/static.
* Ensures browsers don't use cached copies of old static files in new versions of your app.

See the app.conf docs for more info.

View solution in original post

jeffland
Champion

While I don't think you can bump on cloud versions, what you can do is increase the build number of your app in app.conf:

build = <integer>
* Must be a positive integer.
* Increment this whenever you change files in appserver/static.
* Ensures browsers don't use cached copies of old static files in new versions of your app.

See the app.conf docs for more info.

View solution in original post

smalonso
Explorer

Hello,

This seems to work, now I can see the @number but it's followed by the build number.

Thanks for your help

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!