All Apps and Add-ons

How do i import python libraries outside of standard library.

divya1388
Explorer

For example how can i add beautifulsoup in the helper script. When i try to import "From bs4 import beautifulsoup" it gives the following error:
2020-05-13 20:11:09,321 ERROR pid=129034 tid=MainThread file=cim_actions.py:message:243 | sendmodaction - signature="Unexpected error: No module named 'bs4'." action_name="basic_email" search_name="test_arf" sid="1589415068.896" rid="0" app="TA-basic-app" user="admin" action_mode="adhoc" action_status="failure"

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...