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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...