This is my config file , I can't match and remove_field
input {
beats {
port => 5047
add_field => { "type" => "ad_engine"}
}
}
filter {
grok {
patterns_dir => "pattern_adeg.conf"
match => { "%{message}" => "info" }
remove_field => ["type","line","offset"]
}