Use script in Logstash

No need for .value but otherwise correct.