Body Required
-
limit integer(int64)
How many log entries to receive at most, up to 500 (default: 100)
Minimum value is
1
, maximum value is500
. -
sort-order string
Sort order for log messages (default: desc)
Values are
desc
orasc
. -
offset string
Opaque offset identifier
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"
}
]
}