All Apps and Add-ons

App Exporter: Why is the /local folder not backed up in an .spl file?

ecathalo
Explorer

Dear Martin,

I had a look at your App Exporter app. The \local folder is not backed up in an .spl file. Is this expected?

Thanks,
Emmanuel.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

The local folder is backed up - after being rolled into default. Your local folder within the exporting instance doesn't change, it's just done in the .spl file.
The idea of packaging your app is to be the author of the app, install it somewhere, and have local changes survive upgrades just like splunk's own apps behave. If you shipped with local content, later localizations and upgrades would clash.

Note, the actual packaging itself isn't part of the App Exporter but rather shipped with Splunk Enterprise itself: http://docs.splunk.com/Documentation/Splunk/6.4.0/RESTREF/RESTapps#apps.2Flocal.2F.7Bname.7D.2Fpacka...

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

The local folder is backed up - after being rolled into default. Your local folder within the exporting instance doesn't change, it's just done in the .spl file.
The idea of packaging your app is to be the author of the app, install it somewhere, and have local changes survive upgrades just like splunk's own apps behave. If you shipped with local content, later localizations and upgrades would clash.

Note, the actual packaging itself isn't part of the App Exporter but rather shipped with Splunk Enterprise itself: http://docs.splunk.com/Documentation/Splunk/6.4.0/RESTREF/RESTapps#apps.2Flocal.2F.7Bname.7D.2Fpacka...

0 Karma

ecathalo
Explorer

Thank you Martin for your quick answer,
Emmanuel.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...