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!

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...

Part 2: A Guide to Maximizing Splunk IT Service Intelligence

Welcome to the second segment of our guide. In Part 1, we covered the essentials of getting started with ITSI ...

Part 1: A Guide to Maximizing Splunk IT Service Intelligence

As modern IT environments continue to grow in complexity and speed, the ability to efficiently manage and ...