v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Logs Indexes

Update indexes order

This endpoint updates the index order of your organization. It returns the index order object passed in the request body when the request is successful.

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

Request body

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 request

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

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"
  ]
}