web_log

web_log #

CategoryScope
Parsingrecord

The “web_log” pipeline processor: preset parsers for the classic web server log formats (Vector’s parse_apache_log / parse_nginx_log equivalent), emitting snake_case access-log fields.

Configuration #

FieldTypeDefaultDescription
formatstring“apache_combined”Preset format selector (e.g. log format).
fieldstringSource field to read from.
ignore_missingboolDo not fail when the source field is missing.
ignore_failureboolDo not fail the record when processing errors; the record passes through unchanged.
tagstringTag appended to the record when processing fails.

Example #

processor:
  - web_log:
      format: "format"
      field: "message"
      ignore_missing: true
      ignore_failure: true
      tag: "tag"
Edit Edit this page