Project

General

Profile

Python3 » History » Version 3

Luke Murphey, 07/19/2019 06:09 PM

1 1 Luke Murphey
h1. Python3
2 1 Luke Murphey
3 3 Luke Murphey
See https://docs.splunk.com/Documentation/Splunk/7.3.1/Python3Migration/AboutMigration
4 3 Luke Murphey
5 1 Luke Murphey
* Use six module (Splunk 7.2 OS)
6 1 Luke Murphey
* Ue future module (see python-future.org, available in Splunk 7.3 PP)
7 1 Luke Murphey
8 1 Luke Murphey
9 2 Luke Murphey
Here are the things that need to be converted:
10 2 Luke Murphey
11 1 Luke Murphey
# Custom Search Commands*
12 1 Luke Murphey
# Custom REST Endpoints
13 1 Luke Murphey
# Scripted and Modular Inputs
14 1 Luke Murphey
# Scripted and Modular Alerts
15 1 Luke Murphey
# Scripted Lookups
16 1 Luke Murphey
# Scripted Authentication
17 1 Luke Murphey
18 2 Luke Murphey
Note: custom search commands will continue to run in Python 2