ELK启动文档
1、filebeat启动1.1如果是调试则使用如下命令
# cd /etc/filebeat
# filebeat -e -c xxx.yml # 日志会输出到屏幕
1.2 如果是生产使用则使用如下命令
# systemctl start filebeat
其中配置文件为
# vim /etc/filebeat/filebeat.yml
2、Logstash启动(yum安装没有system格式启动,因为要去conf.d读全部文件)
1、前台启动
# cd /etc/logstash/conf.d/
# /usr/share/logstash/bin/logstash -f xxx.conf
2、后台启动
# cd /etc/logstash/conf.d/
# nohup /usr/share/logstash/bin/logstash -f logstash.conf >/tmp/logstash.log 2>&1 &
这个是什么啊? {:6_267:}
页:
[1]