Splunk Dev

Add Python Modules

JosIJntema
Explorer

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)

badarsebard
Communicator

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 activation.py script at the top of your script and Splunk will run your script using the virtual environment.

0 Karma

aaraneta_splunk
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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...