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

Get Updates on the Splunk Community!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...