Splunk SOAR

Installing pandas to use in Splunk SOAR

hiepdao
Engager

Hello team,

We want to run some custom code inside Splunk SOAR that utilize the pandas python package.

We can already install the pandas and use it using the below commands:

 

sudo su - phantom
 
/opt/phantom/bin/phenv pip install pandas

 

After installing we can use pandas in custom functions just fine.

 

I want to ask if this is good or can it lead to any compatibility issue in the future? (e.g. SOAR upgrades)

 

Thanks in advance!

Labels (1)
0 Karma

phanTom
SplunkTrust
SplunkTrust

@hiepdao whilst on-prem it should be fine but you may need to check if the lib ever needs an update. 

The best practise, especially if you ever move to Cloud SOAR, would be to create an app for the actions requiring pandas and then package the pandas .whl file as a dependency to make it more portable. 

0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...