crowdsec/pkg/parser/tests/base-grok-import/base-grok.yaml
Thibault bui Koechlin 2016167654 initial import
2020-05-15 11:39:16 +02:00

17 lines
390 B
YAML

filter: "evt.Line.Labels.type == 'testlog'"
debug: true
onsuccess: next_stage
name: tests/base-grok
nodes:
- grok:
#USERNAME is a pattern defined by the grokky library we are using
name: SYSLOGFACILITY
apply_on: Line.Raw
statics:
- enriched: subgrok_static_why_is_it_still_here
value: because
statics:
- meta: log_type
value: parsed_testlog