[BETA] Get ElasticSearch Logs external integration endpoint settings

GET /dbaas-external-endpoint-elasticsearch/{endpoint-id}

[BETA] Get ElasticSearch Logs external integration endpoint settings

Path parameters

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • name string

      External integration endpoint name

    • type string

      External integration endpoint type

      Values are prometheus, opensearch, rsyslog, datadog, or elasticsearch.

    • id string(uuid)

      External integration endpoint id

    • settings object

      External integration ElasticSearch logs configuration

      Additional properties are allowed.

      Hide settings attributes Show settings attributes object
      • url string

        Elasticsearch connection URL

        Minimum length is 12, maximum length is 2048.

      • Elasticsearch index prefix

        Minimum length is 1, maximum length is 1000. Format should match the following pattern: ^[a-z0-9][a-z0-9-_.]+$.

      • index-days-max integer(int64)

        Maximum number of days of logs to keep

        Minimum value is 1, maximum value is 10000.

      • timeout integer(int64)

        Elasticsearch request timeout limit

        Minimum value is 10.0, maximum value is 120.0.

GET /dbaas-external-endpoint-elasticsearch/{endpoint-id}
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/dbaas-external-endpoint-elasticsearch/{endpoint-id}
Response examples (200)
{
  "name": "string",
  "type": "prometheus",
  "id": "string",
  "settings": {
    "url": "string",
    "index-prefix": "string",
    "index-days-max": 42,
    "timeout": 42
  }
}