goodluck 发表于 2024-7-25 21:01:02

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 &


xiaoxiaohe 发表于 2024-7-25 21:16:10

这个是什么啊?

mawr1985 发表于 2024-7-26 07:47:49

{:6_267:}
页: [1]
查看完整版本: ELK启动文档