Logs
You will need to base64 encode the string containing your credentials. Separate your username and password with a colon, i.e., username:password and send it as 'Authorization' request header. More details: https://en.wikipedia.org/wiki/Basic_access_authentication.
The unique ID of the cluster.
498ae72f-411f-11eb-9d07-046c59cc737eThe start time for the query in RFC3339 format. Must not be more than 30 days ago but before the end parameter. The default is 30 days ago.
The end time for the query in RFC3339 format. Must not be greater than now. The default is the current timestamp.
The direction in which to scan through the logs. The logs are returned in order of the direction.
BACKWARDPossible values: The maximal number of log lines to return. If the limit is reached then log lines will be cut at the end (respecting the scan direction).
100Successful operation.
The logs of the PostgreSQL cluster.
Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient permissions), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), 503 (maintenance)
Last updated
Was this helpful?