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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...