file.d icon indicating copy to clipboard operation
file.d copied to clipboard

add cardinality action plugin

Open DmitryRomanov opened this issue 3 weeks ago • 0 comments

Description

Limits the cardinality of fields on events or drops events.

An example for discarding events with high cardinality field:

pipelines:
  example_pipeline:
    ...
    - type: cardinality
      limit: 10
      action: discard
      metric_prefix: service_zone
      key:
        - service
      fields:
        - zone
    ...

DmitryRomanov avatar Dec 03 '25 12:12 DmitryRomanov