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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...