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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...