filter { if [type] == "nginx-access" { grok { match => { "message" => "%{NGINXACCESS}" } } } }