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

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 ...

Data Persistence in the OpenTelemetry Collector

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

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...