Get logs of DBaaS service

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

Get logs of DBaaS service


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


POST /dbaas-service-logs/{service-name}
curl \
 -X POST{service-name} \
 -H "Content-Type: application/json" \
 -d '{"limit":42,"sort-order":"desc","offset":"string"}'
Request example
  "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"