mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-14 05:14:06 +02:00
16 lines
390 B
YAML
16 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
|
|
|