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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...