Skip to content

Deployment

deployment_cloud_sql_logs

Snapshot the last N Postgres log lines for a managed Postgres (Cloud SQL) instance.

Tool

deployment_cloud_sql_logs

Snapshot the last N Postgres log lines for a managed Postgres (Cloud SQL) instance.

Snapshot the last N Postgres log lines for a managed Postgres (Cloud SQL) instance.

Behavior

HTTP
GET /deployment/cloud-sql/instances/:instanceId/logs

Arguments

NameTypeRequiredDescription
tailintegerNo description in the catalog.
instanceIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
linesarray

Try it

Snapshot the last N Postgres log lines for a managed Postgres (Cloud SQL) instance.

When to use

Snapshot the last N Postgres log lines for a managed Postgres (Cloud SQL) instance.

Example

Ask your agent something like this:

Snapshot the last N Postgres log lines for a managed Postgres (Cloud SQL) instance.

The agent will invoke deployment_cloud_sql_logs with these arguments:

{
  "instanceId": "<instanceId>"
}

Esc

Start typing to search the docs.

navigateselect