1、bin/logstash,新增
JAVA_CMD=/home/admin/soft/jdk1.8.0_121/bin
JAVA_HOME=/home/admin/soft/jdk1.8.0_121
2、bin/logstash.lib.sh ,在页首新增
【转自】:http://blog.csdn.net/singleee/article/details/50979768