-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,10 +119,6 @@ Otterize Cloud consumes audit logs collected from your Cloud SQL instancec by su | |
|
||
Follow the instructions for [third-party integrations with Pub/Sub on GCP docs](https://cloud.google.com/logging/docs/export/pubsub#integrate-thru-pubsub) | ||
to configure a log sink and route your Cloud SQL instance's audit logs through a Pub/Sub topic, and allow Otterize Cloud to subscribe to it. | ||
- For the <b>third-party service account name</b>, use Otterize Cloud service account: | ||
```shell | ||
[email protected] | ||
``` | ||
- Under <b>logs to include</b>, provide the following filter to include all audit logs generated by pgAudit | ||
for the Cloud SQL instance you are using for this tutorial: | ||
```shell | ||
|
@@ -131,6 +127,10 @@ to configure a log sink and route your Cloud SQL instance's audit logs through a | |
logName="projects/<GCP_PROJECT_ID>/logs/cloudaudit.googleapis.com%2Fdata_access" | ||
resource.labels.database_id="<GCP_PROJECT_ID>:<CLOUDSQL_INSTANCE_NAME>" | ||
``` | ||
- For the <b>third-party service account name</b>, use Otterize Cloud service account: | ||
```shell | ||
[email protected] | ||
``` | ||
If you deployed the dummy postgres application used earlier in this tutorial, | ||
you may now open your [Pub/Sub topic's metrics](https://console.cloud.google.com/cloudpubsub/topic/list) page | ||
|