Developing for Splunk Enterprise

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.

Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!