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!

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...