Linux Server 客户端filebeat配置
[root@sh2-vsvl-q9011 ~]# vim /etc/filebeat/filebeat.yml
output.elasticsearch:
hosts: ["<es_url>"]
#username: "elastic" # 默认没有配置用户名和密码,可以注释不启用
#password: "<password>" # 默认没有配置用户名和密码,可以注释不启用
setup.kibana:
host: "<kibana_url>"
[root@sh2-vsvl-q9011 ~]# filebeat modules enable system # 启用和配置系统模块
[root@sh2-vsvl-q9011 ~]# filebeat setup # setup命令加载 Kibana 仪表板
[root@sh2-vsvl-q9011 ~]# systemctl restart filebeat.service