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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...