fix logstash plug-in