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!

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...