Get logs of DBaaS service

POST /dbaas-service-logs/{service-name}

Get logs of DBaaS service

application/json

Body Required

  • limit integer(int64)

    How many log entries to receive at most, up to 500 (default: 100)

    Minimum value is 1, maximum value is 500.

  • Sort order for log messages (default: desc)

    Values are desc or asc.

  • offset string

    Opaque offset identifier

Responses

POST /dbaas-service-logs/{service-name}
curl \
 -X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-service-logs/{service-name} \
 -H "Content-Type: application/json" \
 -d '{"limit":42,"sort-order":"desc","offset":"string"}'
Request examples
{
  "limit": 42,
  "sort-order": "desc",
  "offset": "string"
}
Response examples (200)
{
  "offset": "string",
  "first-log-offset": "string",
  "logs": [
    {
      "unit": "string",
      "time": "string",
      "message": "string",
      "node": "string"
    }
  ]
}