Splunk Dev

How to implement App update with modified dashboards?

pkincaid_sa
New Member

I support a Splunk App for our company and we recently made some changes to the dashboards we ship with the app - most specifically, updating the dashboard version and removing a script that was not Python 3 compatible.

However, when customers updated the app, because the user of the App made some small changes to the dashboards, these dashboards did not get updated to the latest dashboards and were showing issues with the old script and the dashboard version - since the changed dashboard would be in the local directory vs. default.

Is there a way for us as the developers of the app to merge or force specific changes to a dashboard for our app even if there were customizations made to the dashboard by the customer? Perhaps a warning that dashboard X is not being updated because a local version exists?

Thanks,
Paul

0 Karma

FelixLeh
Contributor

Forcefully changing the local directory when updating an app would go against the purpose of the folder structure since it is made to guarantee to keep your changes even when updating the app.  

I think the only solution that secures a healthy Splunk Environment would be to manually adjust/remove the local changes that interfere with the new ones. 

Look through the local version of the dashboard the customer created and find any changes they want to keep in the new one. Delete the local version and you'll see the one created in the default directory.
Then make the changes the customer wants to keep in the dashboard thus creating a new local version.

You could also rename the current local dashboard to "dashboard_old.xml". This would result in both dashboards being shown and allows for the transition of the changes while both Dashboards are still intact.

I hope one of those solutions works for you!

_______________________________________

If this was helpful please consider awarding Karma. Thx!

 
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...