ELK 通过 Logstash 收集 messages、secure 系统日志 1、logstash配置文件编写 [root@linux-elk1 ~]# vim /etc/logstash/conf.d/system-log.conf input { file { path => "/var/log/messages" type => "systemlog" start_position => "beginning" stat_interval => "3" } f