Logs Indexes

Get indexes order

Get the current order of your log indexes. This endpoint takes no JSON arguments.

get/api/v1/logs/config/index-order

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/logs/config/index-order
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Response

OK

index_namesstring[] required

Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.

Example response

{
  "index_names": [
    "main",
    "payments",
    "web"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.