Building for the Splunk Platform

Add Python Modules


Hi there,

I would like to use the googleads package for Python to import data from Google into Splunk. We already have the Scientific Computing App for Splunk.

How could we import the googleads package in either the regular Search app or the Scientific Computing app?

Installing it with pip does not seem to do the trick.

Tags (2)


There is a new app called PyDen which should allow you to install any module you need by creating a virtual environment from a compiled version of Python. You would need to do the following:

  1. Install PyDen and PyDen Manager from Splunkbase
  2. Ensure your system has all the required libraries to compile Python from source
  3. Run the "createdist" command for the version of Python you want to use
  4. Run the createvenv command and specify your version and a name for the environment
  5. Run the pip command to install googleads module to the virtual environment

Now when you want to use the virtual environment all you need do is execute a function from the script at the top of your script and Splunk will run your script using the virtual environment.

0 Karma

Splunk Employee
Splunk Employee

@JoslJntema - Which Python for Scientific Computing add-on from Splunkbase are using? I just want to make sure your post is tagged appropriately. Thank you.

0 Karma
Get Updates on the Splunk Community!

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

This Week's Community Digest - Splunk Community Happenings [8.3.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...