Splunk Dev

Does PythonSDK for splunk supports all the other python libraries like PPTX, WXPYTHON etc?

bhagatamit
New Member

I want to use other libraries of Python in Splunk. Please let me know if these can be installed or not?

0 Karma

badarsebard
Communicator

The Splunk SDK for Python is intended for use by independent Python applications that connect to a remote Splunk instance, and not scripts that are run by the platform itself. The best way to use non-native python libraries in Splunk is to use my recently released app called PyDen which allows a developer to create Python virtual environments within Splunk. You can then use a pip command from the search bar to add packages to the virtual environment. The environment can be leveraged by scripts by adding a simple activation function at the top of the script which causes the script to be run with the virtual environment instead of the built-in Python Splunk uses.

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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...