[BETA] Create OpenSearch Logs external integration endpoint
[BETA] Create OpenSearch Logs external integration endpoint
POST
/dbaas-external-endpoint-opensearch/{name}
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-external-endpoint-opensearch/{name} \
-H "Content-Type: application/json" \
-d '{"settings":{"ca":"string","url":"string","index-prefix":"string","index-days-max":42,"timeout":42}}'
Request examples
{
"settings": {
"ca": "string",
"url": "string",
"index-prefix": "string",
"index-days-max": 42,
"timeout": 42
}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}