1: 背景:
syslog-ng 作为很多linux 收集日志的重要工具,当然很多splunk 的source 也是用这个收集的,下面就介绍用 Prometheus来收集数据,然后发送到 grafana 来展示,还是很直观的。下面就来详细道来:
2: 安装 syslog-ng node exporter:
Prometheus: syslog-ng exporter - Blog - syslog-ng Community - syslog-ng Community
Compiling the syslog-ng exporter
First of all, you need to set up a go development environment. Well, this is probably an overstatement as we just create a few directories under the home directory and set up an environment variable for go, point
本文介绍了如何配置syslog-ng,以便将其数据发送到Prometheus进行监控,并通过Grafana可视化。首先,编译并安装syslog-ng的exporter,然后更新Prometheus配置以收集指标。接着,在Grafana中导入syslog-ng插件以查看监控页面。确保node exporter正确运行,并在Grafana中查看输出效果。
订阅专栏 解锁全文
770

被折叠的 条评论
为什么被折叠?



