List Sinks
cloud_logging.list_sinks
ActionGoogle Cloudconnection required
Calls GET /projects/{project}/sinks, following nextPageToken.
List Cloud Logging export sinks in a project.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Logging
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
max_results Budget across pages; the connector follows nextPageToken up to this many. | number | No | 1000 | ≥ 1 | — |
page_token Resume from a previous run's next_page_token. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"max_results": 1000
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
sinks | array | — |
sinks[].name Sink id. | string | — |
sinks[].destination Where the sink exports to. | string | — |
sinks[].filter Logging filter the sink exports. | string | — |
sinks[].disabled True while the sink is switched off. | boolean | — |
sinks[].description The sink's human description. | string | — |
sinks[].writer_identity Service account the destination must grant write access to. | string | — |
sinks[].include_children True when the sink also exports children of the parent resource. | boolean | — |
sinks[].intercept_children True when child resources' logs are intercepted here. | boolean | — |
sinks[].exclusions Exclusion filters attached to the sink; each one suppresses matching logs. | array | — |
sinks[].bigquery_options BigQuery destination options (partitioned tables). | object | — |
sinks[].create_time When the sink was created. | string | — |
sinks[].update_time When the sink was last changed. | string | — |
sinks[].resource_name Full resource name of the sink, when the API returns one. | string | — |
count How many items this step returned. | number | — |
truncated True when the budget ran out with more items behind it. | boolean | — |
next_page_token Resume token for the next run; empty once the listing is complete. | string | — |
{
"count": 0,
"next_page_token": "",
"sinks": [
{
"bigquery_options": {},
"create_time": "",
"description": "",
"destination": "",
"disabled": false,
"exclusions": [],
"filter": "",
"include_children": false,
"intercept_children": false,
"name": "",
"resource_name": "",
"update_time": "",
"writer_identity": ""
}
],
"truncated": false
}Related Google Cloud Logging nodes
Solutions with Google Cloud Logging
See List Sinks run in a workflow.
In a technical demo we add the Google Cloud Logging connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.