All Apps and Add-ons

Upgrade Readiness detects deprecated Python on server in Config Explorer despite presence of supported versions.

dsky55
Explorer

This is Splunk Enterprise on-premise version  9.2.4 and the Config Explorer is version 1.7.16.  The splunkbase reports that Config Explorer 1.7.16 is compatible with all the Splunk 9 versions, 9.0-9.4 as of this writing.  

The Upgrade Readiness App detected 1 app with deprecated Python on the my-server instance.
config_explorer

I have confirmed that in $SPLUNK/bin that the python3.7m executable reports it is version 3.7.17 and I have viewed the jsquery.js file in
$SPLUNK/etc/apps/splunk_monitoring_console/src/visualizations/heatmap/node_modules/jquery/dist/.

is jQuery JavaScript Library v3.5.0/jsquery.js  which is the only jsquery.js file in the $SPLUNK subdirectories.

Why is the Upgrade Readiness App reporting a deprecated Python and why does my Splunk get warnings about Python and JQuery incompatibilities.  

Labels (1)
0 Karma

dsky55
Explorer

All the private apps on my splunk installation pass the jQuery and Python readiness.  It is just the public Config Explorer that failed the Python readiness.  I checked for customized code and editing of any files; by using the Linux CLI, I compared all the files in the etc/apps/config_explorer/...  with another splunk server that had the app installed that did not get the python incompatibility.  i compared filename, size, and date of the files and all the files were the same on each server; since one server flags config_explorer with a python version incompatibility, I wonder now if the Upgrade Readiness App has code in need of updating.  
The wget command recommended in the link ".../9.4.0/UpgradeReadiness/ResultsPython" that will "undo dismissed apps" was helpful in reversing the effect of "Dismiss App Alert", but the Config Explorer now fails the python scan because "This newly installed App has not completed the necessary scan." instead of the Python incompatibility.  I don't know if the wget that reverses the dismiss app alert and the new error from upgrade readiness are related.

0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@dsky55 

Splunk Enterprise 9.x officially supports Python 3.7+, but some apps and add-ons may still include Python 2.x code. Even if your Splunk installation has Python 3.7.17, the Upgrade Readiness App scans app files for deprecated Python 2.x code.

Please check this below documentation for more information. 

https://docs.splunk.com/Documentation/Splunk/9.4.0/UpgradeReadiness/ResultsPython 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
Get Updates on the Splunk Community!

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...