elasticsearch/logstash-contrib — pull request #75 by kkawka (2014-06-17 09:19:27+00:00)
Title: improve log formatting

Hi, I got improvement for formatting logs send by zabbix plug in. Shellescape is a good solution to avoid "shell injection", but it makes logs unreadable e.g :
\ \ \ \ \ \ \ \ \\`cat\ /dev/urandom\ \>\ /dev/null\`\

Instead shellescape I propose to use popen introduced in Ruby 1.9, which bypass shell.