Logs
Query logs with OQL
Run an OQL log query using the pipeline grammar fetch logs | filter <expr> | sort timestamp desc | limit N. The query is compiled onto the same engine as SearchLogs; timestamp desc is the only supported sort.
POST
Query logs with OQL
Guia relacionado: guia de OQL. Consulte o guia de OQL para um passo a passo com exemplos.
Autorizações
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Corpo
application/json
OQL query string, e.g.
fetch logs | filter severity_number > 10 | filter body contains "error".
Maximum rows to return; a | limit N pipeline command takes precedence.
Opaque cursor for pagination.

