cidr

cidr #

CategoryScope
Governancerecord

The “cidr” pipeline processor: test an IP field against a list of networks (Vector’s cidr_contains equivalent) and record the verdict — the natural gate before geoip (“skip private addresses”) or routing.

Configuration #

FieldTypeDefaultDescription
fieldstring“client_ip”Source field to read from.
networksliststringNetworks (CIDR or named) tested against the IP field.
targetstring“cidr_matched”Destination prefix or field to write the result to.
tag_on_matchstringTag appended when the pattern matches.

Example #

processor:
  - cidr:
      field: "message"
      networks: []
      target: "parsed"
      tag_on_match: "tag_on_match"
Edit Edit this page