Skip to content

Commit

Permalink
GCP PubSub update function after creation (#636)
Browse files Browse the repository at this point in the history
* add steps for updating resorces to monitor

* Update impacted GCP docs

---------

Co-authored-by: Ral G <[email protected]>
Co-authored-by: ralongit <[email protected]>
  • Loading branch information
3 people authored Sep 2, 2024
1 parent 3ab7971 commit a79db51
Show file tree
Hide file tree
Showing 57 changed files with 65 additions and 56 deletions.
9 changes: 9 additions & 0 deletions docs/_include/general-shipping/gcp-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ Replace the variables as per the table below:
| `<<LOG-TYPE>>` | Log type. Help classify logs into different classifications. (Default: `gcp-pubsub`) |
| `<<FUNCTION-NAME>>` | Function name will be using as Google Cloud Function name. (Default: `logzioHandler`) |
| `<<TELEMETRY-LIST>>` | Will send logs that match the Google resource type. Detailed list you can find [here](https://cloud.google.com/logging/docs/api/v2/resource-list) (ex: `pubsub_topic,pubsub_subscription`). For all services insert `all_services`. |
#### Updating `telemetry_list` after creation
To update the resources that are monitored by the function follow the steps:
1. Go to Log router page.
2. Choose `logzioHandler-sink-logs-to-logzio`.
3. Edit the sink.
4. Update the query which filters for the resource types to monitor.
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-ai-platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `aiplatform.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-api-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `apigateway.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-apigee.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ For this integration, the telemetry list needs to include `apigee.googleapis.com

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-app-engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ For this integration, the telemetry list needs to include `appengine.googleapis.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-bigquery-data-transfer-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `bigquerydatatransfer.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-bigquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `bigquery.googleapis.c

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-bigquerybiengine.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `bigquerybiengine.goog

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-bigtable.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `bigtable.googleapis.c

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ Give your logs some time to get from your system to ours, and then open [Open Se

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-armor.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `networksecurity.googl

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-composer.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `composer.googleapis.c

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-datastore.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `datastore.googleapis.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `dns.googleapis.com`.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-healthcare.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `healthcare.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-ids.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `ids.googleapis.com`.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-interconnect.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `connectors.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `logging.googleapis.co

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `monitoring.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `router.googleapis.com

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Give your logs some time to get from your system to ours, and then open [Open Se

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `storage.googleapis.co

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-tpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `tpu.googleapis.com`.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloud-trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ For this integration, the telemetry list needs to include `cloudtrace.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloudfunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `cloudfunctions.google

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloudsql.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `cloudsql.googleapis.c

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-cloudtasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `cloudtasks.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-compute-engine-autoscaler.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `autoscaler.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-compute-engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `compute.googleapis.co

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-contact-center-ai-insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Give your logs some time to get from your system to ours, and then open [Open Se

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-data-loss-prevention.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `dlp.googleapis.com`.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-dataflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ For this integration, the telemetry list needs to include `dataflow.googleapis.c

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-dataproc-metastore.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ For this integration, the telemetry list needs to include `dataproc.googleapis.c

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-dataproc.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `dataproc.googleapis.c

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-datastream.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `datastream.googleapis

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-filestorage.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ For this integration, the telemetry list needs to include `file.googleapis.com`.

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
2 changes: 1 addition & 1 deletion docs/shipping/GCP/gcp-firebase.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ For this integration, the telemetry list needs to include `firebasedatabase.goog

### Check Logz.io for your metrics

Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Give your data some time to get from your system to ours, then log in to your Logz.io Metrics account, and open [the Logz.io Metrics tab](https://app.logz.io/#/dashboard/metrics/).
Loading

0 comments on commit a79db51

Please sign in to comment.