config.yaml 308 B

1234567891011
  1. filelog:
  2. include: [ testdata/simple.log ]
  3. start_at: beginning
  4. operators:
  5. - type: regex_parser
  6. regex: '^(?P<time>\d{4}-\d{2}-\d{2}) (?P<sev>[A-Z]*) (?P<msg>.*)$'
  7. timestamp:
  8. parse_from: attributes.time
  9. layout: '%Y-%m-%d'
  10. severity:
  11. parse_from: attributes.sev