dissect

dissect #

CategoryScope
Parsingrecord

The “dissect” pipeline processor: fast, regex-free delimiter-based field extraction, the preferred log parsing primitive of the INFINI data pipeline.

Configuration #

FieldTypeDefaultDescription
patternstringExtraction pattern; %{NAME} placeholders capture into fields.
fieldstringSource field to read from.
target_fieldstringDestination field to write the result to.
ignore_missingboolDo not fail when the source field is missing.
ignore_failureboolDo not fail the record when processing errors; the record passes through unchanged.
overwrite_keysboolOverwrite fields that already exist in the record.
tagstringTag appended to the record when processing fails.

Example #

processor:
  - for_each:
      processor:
        - dissect:
            field: message
            pattern: "%{client_ip} %{http_method} %{http_path} %{status_code}"
            target_field: http
Edit Edit this page