I am making a custom command for splunk, say getInfluentialCommand. So I make a .py file in bin directory. in this .py file, I need to include pandas, numpy. How to do it? Does splunk python environment allow me to include other python module? Do I just need to install as pip install pandas
or pip install numpy
?
Actually, in directory, etc/app/command
,use command pip
to install splunk python
library, also pandas
and numpy
.
pip install -t . splunk-sdk
Just same as splunk-sdk, one could install other libs.