Hello,
I'm strugling to get rid of these _grokparsefailure tags
Case 1:
Message
1.1.1.1 - - [26/May/2017:21:24:04 +0200] "GET /plugins/jqueryui/themes/classic/jquery-ui-1.10.4.custom.css?s=1450862292 HTTP/1.1" 200 6284 "https://server.domain.org/?_task=mail&_mbox=INBOX" "Opera/9.80 (Windows NT 6.1; Win64; x64) Presto/2.12.388 Version/12.18"
Config
filter {
if [program] == "nginx" {
grok {
break_on_match => true
patterns_dir => "/etc/logstash/conf.d/patterns"
match => [ "message", "%{IPORHOST:remote_addr} - - \[%{HTTPDATE:time_local}\] %{QS:request} %{INT:status} %{INT:body_bytes_sent} %{QS:http_referer} %{QS:http_user_agent}" ]
add_tag => [ "_grok_nginx_access_success" ]
add_tag => ["Web"]
add_tag => ["nginx_access"]
remove_tag => ["_grokparsefailure"]
}
}
}
Result: The tags are added, the informations are extracted but _grokparsefailure is not removed