I created and add-on using Splunk add-on builder and also an app related to the add-on. Now I need to package both app and add-on together and delpoy on to the another splunk instance. Please help me out on how to create this .tgz file which includes both app and add-on.
Hello @haripriyasarvepalli1
I'm not sure this is a correct way to deploy apps and addons, but technically this is just a tar command:
cd $SPLUNK_HOME/etc/apps
tar cfz /tmp/app_with_addon.tgz MyApp TA_myAddon
there are other ways if you just want to transfer files from one splunk instance to other. Usually rsync, sftp or scp are used among other methods.
Hello @haripriyasarvepalli1
I'm not sure this is a correct way to deploy apps and addons, but technically this is just a tar command:
cd $SPLUNK_HOME/etc/apps
tar cfz /tmp/app_with_addon.tgz MyApp TA_myAddon
there are other ways if you just want to transfer files from one splunk instance to other. Usually rsync, sftp or scp are used among other methods.
Thank you PaveIP. This way worked and also we tried with 7-zip , it also worked. Really thankyou for quick response.