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.

Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...