icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Splunk Add-on for Google Drive
SHA256 checksum (splunk-add-on-for-google-drive_092.tgz) aaf589c9eea4715c40c929e067f2ed29d01ecdc99b1af43dad9ea667ee12e3ba SHA256 checksum (splunk-add-on-for-google-drive_091.tgz) 034d50576b7211272fcb151b4efd6cca2a658cd5e2920d09d8ff45d509b1e8c7
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Splunk Add-on for Google Drive

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
This add-on allows for indexing of metadata about Google Drive usage within an organization. It captures audit events such as file creation, access, and deletion.

It also serves as an example for using OAuth to authenticate a modular input. More information can be found in Splunk's Developer Guidance (http://dev.splunk.com/goto/devguide)

About

This add-on allows for indexing of metadata about Google Drive usage within an
organization. It captures audit events such as file creation, access, and
deletion.

It also serves as an example for using OAuth to authenticate a modular input.
More information can be found in Splunk's
Developer Guidance.

Installing

To use this add-on, you must first create an project in the
Google Developers Console

  1. Create a new project, giving it whatever name suits your needs.
  2. In your new project, click on APIs & auth -> Credentials in the nav bar.
  3. Click the Add credentials button and select OAuth 2.0 client ID
  4. Follow the prompt to create a product name for your consent screen
  5. Select an Application type of Other, give it a name and press Create
  6. Take note of your client ID and secret

Now set up the input in Splunk:

  1. As an admin, go to the Settings menu and select Data inputs
  2. In the Google Drive Activity Stream row, click Add new
  3. Give your input a descriptive name and remember it, as we will need it when
    authorizing in the next step.
  4. Click More Settings
    1. Set the interval to the rate at which you want to query Google Drive.
      86400 (24 hours) is a good value.
    2. Set the sourcetype to google:drive:activity
  5. Save the configuration

Finally, we need to authorize the input. At the command line:

  1. Ensure that the environment variable $SPLUNK_HOME is set to your Splunk
    installation directory
  2. Run the following command (split into multiple lines for clarity):

    $SPLUNK_HOME/bin/splunk cmd python $SPLUNK_HOME/etc/apps/splunk-add-on-google-drive/bin/configure_oauth.py <input name> <client ID> <client secret>

    This will give you a URL that
    you can copy and past into a browser. Once you authenticate with your Google
    username and password you will get a key that you can then paste into the
    prompt.
    3. Go back to the input you created above and disable and reenable it to kick
    off the modular input process immediately.

Case Study

For a case study showcasing the application of this add-on, see the Splunk Reference App - PAS and the accompanying Splunk Developer Guidance.

Release Notes

Version 0.9.2
Nov. 11, 2015

For the up-to-date Release Notes, issue tracking and source code, check out https://github.com/splunk/splunk-add-on-google-drive

Version 0.9.1
Sept. 21, 2015

For the up-to-date Release Notes, issue tracking and source code, check out https://github.com/splunk/splunk-add-on-google-drive


Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.