Working on my logstash.conf grok statement.
It seems the part that is not working is the final bit that says:
if [tags] == [] {
mutate {
remove_field => ["tags"]
}
}
This is logstash 6.3.
Any idea where I've gone wrong. It works in 5.4 which is what I am upgrading.