如何监控日志? #1254
UlricQin
started this conversation in
Show and tell
如何监控日志?
#1254
Replies: 2 comments 3 replies
-
第一种方案需要购买企业版吗 |
Beta Was this translation helpful? Give feedback.
2 replies
-
作者好,我有一个问题如下:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
两个方案:
1、在产生日志的机器上,部署categraf,流式读取日志,根据正则提取指标,比如统计Error关键字出现的次数,统计接口的成功率、延迟等,具体参考:从应用日志中提取监控metrics
2、把日志收集到中心,比如放到ElasticSearch中,然后在夜莺里配置告警规则,具体可以参考:ElasticSearch日志告警
Beta Was this translation helpful? Give feedback.
All reactions