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!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...