Splunk Cloud Platform

Detected an outdated version of the Splunk SDK for Python- How to upgrade the Splunk SDK for Python on Cloud?

jhilton90
Path Finder

So I'm trying to install an app on Splunk Cloud and it went through the checks and it failed due to the following error:

Detected an outdated version of the Splunk SDK for Python (1.6.15). Please upgrade to version 1.6.16 or later. File: bin/splunklib/binding.py

Does anyone know how to upgrade the Splunk SDK for Python on Splunk Cloud?

Labels (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Each app that uses the SDK has a bin/splunklib directory in it.  That check makes sure the version of splunklib is current.  If it isn't, find a more recent version of the app with a newer splunklib or update the SDK in the app yourself then re-upload it.

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

jhilton90
Path Finder

How would I go about updating the SKD in the app if you don't mind me asking?

Thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I usually copy the splunklib directory from another app that has a more-recent version.

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

jhilton90
Path Finder

Hi Rich,

Thanks for replying, sorry I'm a newbie but how do you access the splunklib on another app?

Thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Download app "foo" and expand the tarball.  Go to foo/bin then cp splunklib ../../myapp/bin.  In some apps,  splunklib may be under foo/lib.

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

isoutamo
SplunkTrust
SplunkTrust

Hi

you could found the current version from GitHub https://github.com/splunk/splunk-sdk-python

r. Ismo

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...