Splunk Search

Using diffent python version in external lookup

Marvin_Janzen
Observer

Hello,

I am trying to use a different python version for my external lookup. The global version is 3.7 and my custom one is 3.10

my /opt/splunk/bin contains both 3.7 and 3.10

 

In my transforms.conf i changed the python version:

[externallookup]

python.version = python3.10
 
However I am getting the following error:
Marvin_Janzen_0-1751457334078.png

 

When I use 

[externallookup]

python.version = python3.7
 
, it does not give the error. Also I am able to use the new python version, when I change the symlink from 3.7 to my 3.10 (for debugging)
 
But why doesnt it work when I set the python.version to pyhon.3.10?
 
Thanks in advance!
Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

python.version = python3.10 is not a valid setting.  Allowed values are default, python3, python3.7, or python3.9.  I don't know how you were able to add Python 3.10 to Splunk, but doing so does not change the validation of python.version settings.  I strongly recommend using only the versions of Python that ship with Splunk (3.7 or 3.9).

---
If this reply helps you, Karma would be appreciated.
0 Karma

Marvin_Janzen
Observer

Alright, thank you for your answer!

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...