Splunk Search

Is there a way to add 3rd party python modules to the add-on builder?

mninansplunk
Path Finder

Hello, 

Is there a way to add 3rd party python modules to the add-on builder?

I am trying to create a python script in the add-on builder, but looks like I need to use a module that is not included in the add-on builder.

Thanks for any help on this.

Tom

 

Labels (1)
0 Karma

ndifon_ayamba_l
New Member

The python modules are stored in the <Addon-name>/bin/<addon_name>/aob_py3 directory. All you need to do isInstall the package using CLI with
pip install <package_name> --target $SPLUNK_HOME/etc/apps/<Addon-name>/bin/<addon_name>/aob_py3 

Hope it helps

@mninansplunk

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

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

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...