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!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...