这是我的mtail配置
[[instances]]
progs = "/usr/local/n9e/categraf/current/conf/input.mtail/mtails.rules"
logs = ["/var/log/messages"]
override_timezone = "Asia/Shanghai"
emit_metric_timestamp = "true"
gauge netcard_down_count by netcard
#网卡监控
/\w{3}\s\d{2}\s\d{2}:\d{2}:\d{2} \S+ \S+ \S+ \S+ \S+ \S+ (?P<netcard>\S+) NIC Link is (Up|Down)/ {
netcard_down_count[$netcard]++
}
目前告警正常,cpu,内存什么的看起来也暂无影响,但想问问这个日志是为什么?是什么过期了?