# LogsEventSampler

**Type**: `object`

## Properties

- name: filter (optional)
  type: `EventPredicate`

- name: maxAllowedRate (optional)
  type: number
  description: Max allowed rate in messages per second. The max rate used by the token rate limiter to control the sampling rate of events. The rate is distributed across parallel subtasks.

- name: maxBurstLimit (optional)
  type: integer
  description: Maximum size of acceptable burst used by the token bucket rate limiter to handle bursty traffic.

- name: name (required)
  type: string

- name: type (required)
  type: enum: `logs-event-sampler`
  description: Samples log events using a token based rate limiter. Throttles log events based on max rate accepting up to max burst limit for bursty traffic. Can selectively sample events matching a filter predicate. Rate limiting is distributed across parallel subtasks.

