is there any way to break if conditions ?
filter {
grok {
patterns_dir => "/etc/logstash/file/patterns"
match => { "message" => "%{COMMON_HEADER}" }
}
if "_grokparsefailure" in [tags] {
... break and go to output {}
} else {
add_tag => [ "parsed" ]
... continue if statement ...
if {
if {
}
}
... go to output {}
}