Google Workspace
Requirements
Official Filebeat documentation:
https://www.elastic.co/docs/reference/beats/filebeat/filebeat-module-google_workspace
On your Google Workspace:
Set up a
ServiceAccountusing the administrator account.Set up access to the Admin SDK API for the
ServiceAccount.Enable Domain-Wide Delegation for your
ServiceAccount.Allow use of the following oauth2 scope:
https://www.googleapis.com/auth/admin.reports.audit.readonlyDownloaded your service account credentials as a JSON file
Note the “Delegated user”. Usually this is the email address of the admin who performed the above steps in Google Cloud Console.
Available on Data Gallery - No NiFi configuration required.
NiFi Provisioning
Processor | Version |
|---|---|
| N/A |
| v1.0 > v1.x |
| N/A |
Pipeline Structure
graph TD
GetRedisList -->|All| CybersiftParser
CybersiftParser -->|ALERTS| 1.PutElasticCS
CybersiftParser -->|Success| 2.PutElasticCS
Configuring GetRedisList processor
Property | Value |
|---|---|
List Name |
|
Configuring CybersiftParser processor
Set the dropped and failed relationships to terminate
Property | Value |
|---|---|
[New Property +] - Google Index |
|
Configuring PutElasticCS processor
This applies to both Alerts and Success Connectors.
Set all the relationships to terminate
Property | Value (Success) | Value (Alerts) |
|---|---|---|
Elasticsearch ID attribute |
|
|
Elasticsearch Default Index |
|
|
Configure the module
Please follow the below documentation to configure the filebeat module.
You successfully configured the log source, please make sure to define the Index Patterns
tags:
Google Workspace Logs Setup
NiFi Google Workspace Setup