registered_domain

registered_domain #

CategoryScope
Enrichmentrecord

The “registered_domain” pipeline processor: split a domain (e.g. url.domain / dns.question.name) into its registered domain (“www.example.co.uk” -> “example.co.uk”) using the Mozilla Public Suffix List (golang.org/x/net/publicsuffix).

Configuration #

FieldTypeDefaultDescription
fieldstringSource field to read from.
target_fieldstring“network.registered_domain”Destination field to write the result to.
target_subdomain_fieldstringField receiving the subdomain part.
target_etld_fieldstringField receiving the extracted registrable domain.
ignore_missingbooltrueDo not fail when the source field is missing.
ignore_failureboolDo not fail the record when processing errors; the record passes through unchanged.

Example #

processor:
  - registered_domain:
      field: "message"
      target_field: "parsed"
      target_subdomain_field: "target_subdomain_field"
      target_etld_field: "target_etld_field"
      ignore_missing: true
Edit Edit this page