All Apps and Add-ons

How to upgrade third party app from python 2.x to python 3.7 that was made by Splunk Add On Builder?

belijja
New Member

Hi,
Any ideas how to upgrade Splunk third party app from python 2.x to pyhon 3.7 that was made with Splunk Add On Builder. The main changes in the app itself are in the Splunk libraries generated by the builder itself like jinjs2, solnlib, mako... Can I use 2to3 package and just transform all python 2 code to pyhon 3 code and not brake any dependencies? Any suggestion will be helpful?

0 Karma

chli_splunk
Splunk Employee
Splunk Employee

We are developing Add-on Builder 3.0.0 which is Python3 & Splunk8 compatible. It will be released this or next month.
Technically all the 3rd party libs should be installed by pip3, and AoB codes need some manual updates as well. So please wait for the next release rather than doing it by some tools. Thanks.

waechtler_amaso
Explorer

Should this be tagged "python3"?
General question would be:
Will there be a python3/splunk8 compatible version of add-on builder?

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 GA in US-AWS!

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 ...