> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chronosphere.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ReadLogAllocationConfig



## OpenAPI

````yaml openapi/api_v1_config_openapi3_DOCUMENTATION_ONLY.json GET /api/v1/config/log-allocation-config
openapi: 3.0.3
info:
  description: >

    The Config API provides standard HTTP/JSON REST endpoints for creating,
    reading,

    updating, deleting, and listing configurable Chronosphere resources.


    Use this link to download the raw Swagger specification:

    <a href="/api/v1/config/swagger.json">/api/v1/config/swagger.json</a>
  title: Config V1 API
  version: v1
servers:
  - url: https://{tenant}.chronosphere.io
    variables:
      tenant:
        default: tenant
        description: tenant ID assigned by the service provider
security:
  - ApiKeyAuth: []
tags:
  - name: ConfigV1
paths:
  /api/v1/config/log-allocation-config:
    get:
      tags:
        - LogAllocationConfig
      operationId: ReadLogAllocationConfig
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1ReadLogAllocationConfigResponse'
          description: A successful response.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
          description: >-
            Cannot read the LogAllocationConfig because LogAllocationConfig has
            not been created.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
          description: An unexpected error response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
          description: An undefined error response.
components:
  schemas:
    configv1ReadLogAllocationConfigResponse:
      properties:
        log_allocation_config:
          $ref: '#/components/schemas/configv1LogAllocationConfig'
      type: object
    apiError:
      properties:
        message:
          description: An error message describing what went wrong.
          type: string
      type: object
    genericError:
      additionalProperties: true
      type: object
    configv1LogAllocationConfig:
      description: >-
        LogAllocationConfig is a singleton configuration object that specifies
        the

        configuration for Log budget allocations.
      properties:
        created_at:
          description: >-
            Timestamp of when the LogAllocationConfig was created. Cannot be set
            by clients.
          format: date-time
          readOnly: true
          type: string
        dataset_allocations:
          description: >-
            Defines datasets and budget allocations. Datasets are evaluated in
            order.
          items:
            $ref: '#/components/schemas/LogAllocationConfigDatasetAllocation'
          type: array
        default_dataset:
          allOf:
            - $ref: '#/components/schemas/LogAllocationConfigDefaultDataset'
          description: >-
            The default dataset applies to logs that aren't included in any
            other dataset.
        updated_at:
          description: >-
            Timestamp of when the LogAllocationConfig was last updated. Cannot
            be set by clients.
          format: date-time
          readOnly: true
          type: string
      type: object
    LogAllocationConfigDatasetAllocation:
      properties:
        allocation:
          allOf:
            - $ref: '#/components/schemas/configv1LogAllocationConfigAllocation'
          description: Specifies the percentage of the budget to allocate to this dataset.
        dataset_slug:
          description: Slug of the dataset.
          type: string
        priorities:
          allOf:
            - $ref: '#/components/schemas/LogAllocationConfigHighLowPriorities'
          description: >-
            Defines explicit high and low priority match criteria to specify
            which logs to

            drop first (low) and last (high). Anything not matched by either set
            of rules

            is considered default priority and is dropped after low priority but
            before

            high priority data.
      type: object
    LogAllocationConfigDefaultDataset:
      description: Configuration for default dataset.
      properties:
        allocation:
          allOf:
            - $ref: '#/components/schemas/configv1LogAllocationConfigAllocation'
          description: >-
            Sets the percentage of the license limit to allocate to this
            dataset.
        priorities:
          allOf:
            - $ref: '#/components/schemas/LogAllocationConfigHighLowPriorities'
          description: >-
            Defines explicit high and low priority match criteria to specify
            which logs to

            drop first (low) and last (high). Anything not matched by either set
            of rules

            is considered default priority and is dropped after low priority but
            before

            high priority data.
      type: object
    configv1LogAllocationConfigAllocation:
      description: Configuration for allocating resources to a dataset.
      properties:
        percent_of_license:
          description: >-
            Sets the percentage of the license limit to allocate to the default
            dataset.
          format: double
          type: number
      type: object
    LogAllocationConfigHighLowPriorities:
      description: >-
        Defines explicit high and low priority match criteria to specify which
        logs to

        drop first (low) and last (high). Anything not matched by either set of
        rules is

        considered default priority and is dropped after low priority but before
        high

        priority data.
      properties:
        high_priority_filters:
          description: >-
            A list of search filters defining which logs are considered high
            priority in

            this dataset. Filters are combined as OR statements so only one
            filter needs

            to match.
          items:
            $ref: '#/components/schemas/configv1LogSearchFilter'
          type: array
        low_priority_filters:
          description: >-
            A list of search filters defining which logs are considered low
            priority in

            this dataset. Filters are combined as OR statements so only one
            filter needs

            to match.
          items:
            $ref: '#/components/schemas/configv1LogSearchFilter'
          type: array
      type: object
    configv1LogSearchFilter:
      properties:
        query:
          description: >-
            Returns logs that match this query. The query can include only
            top-level

            operations. Nested clauses aren't supported. Only one type of `AND`
            or `OR`

            operator is allowed.
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: Chronosphere API token
      in: header
      name: API-Token
      type: apiKey

````