Splunk Enterprise

Filter out the Phython version check in integrity check

sramamurthy2
Explorer

Hi, 

We recently upgraded the Splunk environment to 9.2.4, and we have some of the apps that are using the Python 2.7 version we are in the process of upgrading those apps in the next 3 months. I noticed that there are errors related to " splunk/bin/jp.py present_but_shouldnt_be, /splunk/bin/python2.7 present_but_shouldnt_be"


Since we also use python 2.7, we do not want to delete these files in the bin. I want to understand there is any way that we can suppress these messages during the integrity check. 


0 Karma
1 Solution

dural_yyz
Motivator

Well I suppose you could add these to the manifest file but I can't stress how much I wouldn't do that.

 

That said I was under the impression that at some point in Splunk 8.x and forward they stopped allowing Splunk processes to reference or pull any Python 2.x capabilities and libraries.  Now I'm not strictly very experienced in that area so I could easily be wrong.

Morrel of the story:

Get off python 2.x reliance ASAP.

View solution in original post

dural_yyz
Motivator

Well I suppose you could add these to the manifest file but I can't stress how much I wouldn't do that.

 

That said I was under the impression that at some point in Splunk 8.x and forward they stopped allowing Splunk processes to reference or pull any Python 2.x capabilities and libraries.  Now I'm not strictly very experienced in that area so I could easily be wrong.

Morrel of the story:

Get off python 2.x reliance ASAP.

sramamurthy2
Explorer

Thanks  @dural_yyz,  you were right. I tried to copy the files from the Splunk manifest under the $plunk_Home and use the same in the latest version manifest file in the Splunk 9.x and after that I restarted the services and I dont see the error again. Looks like When the splunk starts it reads the manifest file and triggers the error that are not in the manifiest file. 

Cheers !!!!

0 Karma

sramamurthy2
Explorer
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please don't tag uninvolved users.  If someone has an answer, they'll respond.

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

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