Logstash custom filter is not taking the field, and takes the filed name as the string instead