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.
To use this add-on, you must first create an project in the
Google Developers Console
APIs & auth
-> Credentials
in the nav bar.Add credentials
button and select OAuth 2.0 client ID
Application type
of Other
, give it a name and press Create
Now set up the input in Splunk:
Settings
menu and select Data inputs
Google Drive Activity Stream
row, click Add new
More Settings
google:drive:activity
Finally, we need to authorize the input. At the command line:
$SPLUNK_HOME
is set to your SplunkRun 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.
For a case study showcasing the application of this add-on, see the Splunk Reference App - PAS and the accompanying Splunk Developer Guidance.
For the up-to-date Release Notes, issue tracking and source code, check out https://github.com/splunk/splunk-add-on-google-drive
For the up-to-date Release Notes, issue tracking and source code, check out https://github.com/splunk/splunk-add-on-google-drive
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.