vim /app//logstash-6.7.0/bin/logstash export JAVA_CMD="/app/jdk1.8.0_11/bin" #改成本身服務器JDK位置 export JAVA_HOME="/app/jdk1.8.0_11/" #改成本身服務器JDK位置
nohup /app/logstash-6.7.0/bin/logstash -t -f /app1/uflow/uflowct/logs/logstash.conf &