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

 

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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...