参考地址:
https://www.cnblogs.com/zuikeol/p/10931274.html
补充:
一个地方的操作说明我觉得说明有问题:
wgethttps://artifacts.elastic.co/downloads/logstash/logstash-7.0.0.tar.gz
tar -xzvf logstash-7.0.0.tar.gz
mv logstash-7.0.0.tar.gz /usr/local/logstash
应该改为:
wgethttps://artifacts.elastic.co/downloads/logstash/logstash-7.0.0.tar.gz
mv logstash-7.0.0.tar.gz /usr/local/
cd /usr/local/
tar -xzvf logstash-7.0.0.tar.gz