centos7安装Logstash输出日志到 Elasticsearch
wget https://artifacts.elastic.co/downloads/logstash/logstash-6.4.1.tar.gztar -xzvf logstash-6.4.1.tar.gzcp logstash-sample.conf syslog.confvi syslog.conf# 定义日志源input { syslog { type => "system-syslog" # 定义类型 port =>