fix non unique grok name

This commit is contained in:
Thibault bui Koechlin 2020-05-27 17:54:59 +02:00 committed by AlteredCoder
parent f1b9247a04
commit f699e559e9

View file

@ -7,10 +7,10 @@ data:
dest_file: ./sample_strings.txt dest_file: ./sample_strings.txt
pattern_syntax: pattern_syntax:
MYCAP1: ".*" MYCAP_EXT: ".*"
nodes: nodes:
- grok: - grok:
pattern: ^xxheader %{MYCAP1:extracted_value} trailing stuff$ pattern: ^xxheader %{MYCAP_EXT:extracted_value} trailing stuff$
apply_on: Line.Raw apply_on: Line.Raw
statics: statics:
- meta: log_type - meta: log_type