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 is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...

Part 2: A Guide to Maximizing Splunk IT Service Intelligence

Welcome to the second segment of our guide. In Part 1, we covered the essentials of getting started with ITSI ...

Part 1: A Guide to Maximizing Splunk IT Service Intelligence

As modern IT environments continue to grow in complexity and speed, the ability to efficiently manage and ...