elk开启组件监控

elk开启组件监控

效果:

logstash配置

/etc/logstash/logstash.yml

yml 复制代码
root@node1:~# grep -Ev "^#|^$" /etc/logstash/logstash.yml 
path.data: /var/lib/logstash
path.logs: /var/log/logstash
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.username: logstash_system
xpack.monitoring.elasticsearch.password: Tianji@iecs2023
xpack.monitoring.elasticsearch.hosts: ["http://10.140.19.202:9200", "http://10.140.19.205:9200", "10.140.19.206:9200"]

filebeat配置

/etc/filebeat/filebeat.yml

yml 复制代码
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch:
  hosts: ["http://10.140.19.202:9200","http://10.140.19.205:9200","http://10.140.19.206:9200"]
  username: "elastic"
  password: "Tianji@iecs2023"

elasticsearch配置

/etc/elasticsearch/elasticsearch.yml

bash 复制代码
xpack.monitoring.enabled: true
xpack.monitoring.collection.enabled: true
相关推荐
jarreyer7 小时前
【AI Agent】大模型自动化载体
运维·自动化
xixingzhe27 小时前
SpringBoot + Nginx 免鉴权接口安全防护方案
运维·nginx·安全
翼龙云_cloud8 小时前
阿里云国际代理商:阿里云 ECS 全维度监控配置教程
运维·阿里云·云计算·监控
笑锝没心没肺9 小时前
fail2ban工具安装配置及使用
linux·运维·服务器
zt1985q10 小时前
本地部署开源智能家居集成平台 ioBroker 并实现外部访问( Windows 版本)
运维·服务器·智能家居
大卡片10 小时前
linux内核驱动开发
linux·运维·驱动开发
心心喵11 小时前
[linux] nohup和pm2的区别 进程保活
linux·运维·服务器
NGINX开源社区12 小时前
F5 NGINX Ingress Controller 5.3.0 新增功能
运维
SelectDB14 小时前
Apache Doris 在 AgentLogsBench 中领先,支撑 Agent 可观测性生产负载
运维·数据库·agent
荣-14 小时前
从两天到十几分钟:一套 YT Crash 自动化分析工具完整工程复盘
大数据·运维·自动化