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.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...