I have log files coming in to an ELK stack. I want to copy a field (foo) in order to perform various mutations on it, However the field (foo) isn\'t always present.
On Logstash 2.2.2, the ("" in [field]) construct does not appear to work for me.
("" in [field])
if ![field] { }
does, for a non-numerical field.