Splunk Enterprise Security

Unable to rename app - Splunk Add On Builder

vr2312
Contributor

After building a project/add-on based on the Standard naming convention of Splunk, i am facing the issue where i have to remove the prefix set by the app.

Renaming it via the add on builder fails and renaming it outside of the app breaks the whole app as it runs based on complex scripts within.

Any guidance will be hepful

Labels (1)
0 Karma
1 Solution

vr2312
Contributor

Yes, that was all done and it failed. There were more than just files that needed to be renamed and the linkages created the app resulted in the app breaking down after the rename. Sadly with the current version of the App Builder that is in, there are only two workarounds that can be implemented : 

1. Download the older version of the add-on builder, rename the app, export the app and import it after installing the new version of the add-on builder. 

2. Rebuild the app from scratch.

View solution in original post

Tags (1)
0 Karma

lakshman239
Influencer

@vr2312  - Assuming, you created an add-on, say, "TA-org-alert",  within that directory, that name will be referred in a number of python files and .conf files (e.g. app.conf).  If you want to change the name, rename in all the places, remove the .pyc files and restart splunk.

0 Karma

vr2312
Contributor

Yes, that was all done and it failed. There were more than just files that needed to be renamed and the linkages created the app resulted in the app breaking down after the rename. Sadly with the current version of the App Builder that is in, there are only two workarounds that can be implemented : 

1. Download the older version of the add-on builder, rename the app, export the app and import it after installing the new version of the add-on builder. 

2. Rebuild the app from scratch.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...