Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 569 Bytes

parser.md

File metadata and controls

24 lines (23 loc) · 569 Bytes

Plugin parser

Variables

Variable name Default Applied function
pattern -
format -
timeFormat -
keyName log
reserveData true
removeKeyNameField true
replaceInvalidSequence false

Plugin template

<filter {{ .pattern }}.** >
  @type parser
  format {{ .format }}
  time_format {{ .timeFormat }}
  key_name {{ .keyName }}
  reserve_data {{ .reserveData }}
  remove_key_name_field {{ .removeKeyNameField }}
  replace_invalid_sequence {{ .replaceInvalidSequence }}
</filter>