There is a failed file integrity check for /opt/splunk/bin/jp.py that results in "present_but_shouldnt_be". This error in integrity appeared after updating from 9.1 to 9.3 just a day prior. There is no reference to the script in the manifest or online in the Splunk community. Is it safe to remove this script or is there a way to remedy this in another fashion?
/opt/splunk/bin/jp.py that results in "present_but_shouldnt_be".'present_but_shouldnt_be' indicates that the file /opt/splunk/bin/jp.py is not part of the expected file set for the version of Splunk 9.3 after the upgrade.sudo cp /opt/splunk/bin/jp.py /opt/splunk/bin/jp.py.backup
2. After backing up, remove the file:sudo rm /opt/splunk/bin/jp.py
Alternatively, move it to a different location outside of
/opt/splunk/ so if any issues arise, it may be easily restored.sudo /opt/splunk/bin/splunk validate files
4. After removing the file, from each instance in a distributed and clustered environment, each instance running these problematic files, needs to be restarted, ie, splunkd process needs a restart.Removing Python 2.7 from your Splunk Enterprise deployment
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |