Skip to main content
PUT
/
api
/
v1
/
config
/
log-allocation-config
{
  "log_allocation_config": {
    "created_at": "2023-11-07T05:31:56Z",
    "dataset_allocations": [
      {
        "allocation": {
          "percent_of_license": 123
        },
        "dataset_slug": "<string>",
        "priorities": {
          "high_priority_filters": [
            {
              "query": "<string>"
            }
          ],
          "low_priority_filters": [
            {
              "query": "<string>"
            }
          ]
        }
      }
    ],
    "default_dataset": {
      "allocation": {
        "percent_of_license": 123
      },
      "priorities": {
        "high_priority_filters": [
          {
            "query": "<string>"
          }
        ],
        "low_priority_filters": [
          {
            "query": "<string>"
          }
        ]
      }
    },
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
create_if_missing
boolean

If true, the LogAllocationConfig will be created if it does not already exist. If false, an error will be returned if the LogAllocationConfig does not already exist.

dry_run
boolean

If true, validates the specified configuration without creating or updating the LogAllocationConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogAllocationConfig. If the specified configuration is invalid, the endpoint returns an error.

log_allocation_config
object

The LogAllocationConfig to update.

Response

A successful response containing the updated LogAllocationConfig.

log_allocation_config
object

LogAllocationConfig is a singleton configuration object that specifies the configuration for Log budget allocations.