elasticsearch Perfmon计数器:返回的值无效
我目前正在windows中使用metricbeat 7.9.0来监视它的cpu使用情况 windows.yml:
elasticsearch Perfmon计数器:返回的值无效,
elasticsearch,grafana,metricbeat,
elasticsearch,Grafana,Metricbeat,我目前正在windows中使用metricbeat 7.9.0来监视它的cpu使用情况 windows.yml: - module: windows metricsets: [perfmon] period: 20s perfmon.ignore_non_existent_counters: true perfmon.group_measurements_by_instance: true perfmon.queries:
- module: windows
metricsets: [perfmon]
period: 20s
perfmon.ignore_non_existent_counters: true
perfmon.group_measurements_by_instance: true
perfmon.queries:
- object: 'Processor Information'
instance: ['_Total']
counters:
- name: '% Processor Utility'
在windows中运行typeperf的结果:
C:\Program Files\Metricbeat>typeperf "\processor information(_total)\% processor utility"
"(PDH-CSV 4.0)","\\B-RDP\processor information(_total)\% processor utility"
"09/04/2020 10:00:44.970","12.599742"
"09/04/2020 10:00:45.970","12.262473"
"09/04/2020 10:00:46.970","13.776128"
"09/04/2020 10:00:47.986","15.459835"
"09/04/2020 10:00:49.001","16.701235"
"09/04/2020 10:00:50.017","16.010404"
"09/04/2020 10:00:51.033","15.780566"
"09/04/2020 10:00:52.033","15.211278"
"09/04/2020 10:00:53.048","12.962887"
"09/04/2020 10:00:54.048","11.272148"
"09/04/2020 10:00:55.050","13.951118"
"09/04/2020 10:00:56.052","15.423948"
"09/04/2020 10:00:57.058","17.593544"
"09/04/2020 10:00:58.074","14.035282"
在我的elasticsearch集群中,metricbeat将无法不时发送该特定值。
在完全调试模式下运行metribeat时报告的错误如下:
perfmon/data.go:55计数器值检索返回{“错误”:“数据无效”,“cstatus”:“返回的数据无效”,“perfmon”:{“查询”:”\\处理器信息(\\\%Processor Utility)}
用于描述行为的其他图表:
我尝试过用其他perfmon指标运行metricbeat,它们似乎都很好。(只有这会引起麻烦)
有人知道这是怎么回事吗
感谢为解决此问题提供的任何帮助
谢谢
问候,
宋林