crowdsec/pkg/parser/tests/base-grok-import/base-grok.yaml

17 lines
390 B
YAML
Raw Permalink Normal View History

2020-05-15 09:39:16 +00:00
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