fix non unique grok name

This commit is contained in:
Thibault bui Koechlin 2020-05-27 17:54:59 +02:00 committed by Farica
parent a199cd8b36
commit 7657a0cc37

View file

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