List Logs

cloud_logging.list_logs
ActionGoogle Cloudconnection required

Calls GET /projects/{project}/logs, following nextPageToken.

List the log ids that have entries 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.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
max_results
Budget across pages; the connector follows nextPageToken up to this many.
numberNo1000≥ 1—
page_token
Resume from a previous run's next_page_token.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "max_results": 1000
}

Output

One shape.

result

FieldTypeExample
log_names
Full resource names, projects/{p}/logs/{id}; already in the spelling a logName= filter matches.
array—
log_ids
Decoded short ids for display, e.g. cloudaudit.googleapis.com/activity. NOT filter-safe: a logName= filter only matches the encoded spelling.
array—
log_filter_ids
The same ids percent-encoded, e.g. cloudaudit.googleapis.com%2Factivity — template these into logName="projects/{p}/logs/{id}".
array—
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,
  "log_filter_ids": [],
  "log_ids": [],
  "log_names": [],
  "next_page_token": "",
  "truncated": false
}

Solutions with Google Cloud Logging

See List Logs 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.