Hello,World

Kibana 中 beats监控数据如何计算得到的呢?

匿名 | 发布于2020年05月14日 | 阅读数:2750

各位大神,小弟刚接触ELK不久。
请问 Kibana 中 filebeat 监控数据如何计算得到的呢?

1589449784(1).jpg


 请问如何从下面 监控数据指标,计算出上面各个折线图的数据呢?或者那边可以查看监控面板指标的计算公式呢?谢谢!
{
"_index": ".monitoring-beats-6-2020.05.14",
"_type": "doc",
"_id": "0UR6EnIBdpgL_EDpzspx",
"_version": 1,
"_score": null,
"_source": {
"cluster_uuid": "0-gf2aGJQdCfNLRlN6QaYw",
"timestamp": "2020-05-14T09:18:57.647Z",
"interval_ms": 10000,
"type": "beats_stats",
"source_node": {
"uuid": "9SHzspCvQZGb9jlbgnBzXg",
"host": "192.168.10.66",
"transport_address": "192.168.10.66:9300",
"ip": "192.168.10.66",
"name": "9SHzspC",
"timestamp": "2020-05-14T09:18:57.647Z"
},
"beats_stats": {
"timestamp": "2020-05-14T09:18:57.645Z",
"beat": {
"name": "localhost.localdomain",
"host": "localhost.localdomain",
"uuid": "c26e1cd6-3a1d-4ed0-be89-7b795f10a2cb",
"type": "filebeat",
"version": "6.8.5"
},
"metrics": {
"libbeat": {
"config": {
"reloads": 1,
"module": {
"starts": 0,
"stops": 0,
"running": 0
}
},
"output": {
"events": {
"acked": 4201,
"failed": 0,
"dropped": 0,
"duplicates": 0,
"active": 0,
"batches": 104,
"total": 4201
},
"write": {
"bytes": 2846733,
"errors": 0
},
"read": {
"bytes": 60254,
"errors": 0
},
"type": "elasticsearch"
},
"pipeline": {
"clients": 1,
"events": {
"filtered": 128,
"published": 4201,
"failed": 0,
"dropped": 0,
"retry": 50,
"active": 0,
"total": 4329
},
"queue": {
"acked": 4201
}
}
},
"system": {
"cpu": {
"cores": 4
},
"load": {
"1": 0.05,
"5": 0.07,
"15": 0.14,
"norm": {
"1": 0.0125,
"5": 0.0175,
"15": 0.035
}
}
},
"beat": {
"info": {
"ephemeral_id": "f145bdf9-17b5-4ed5-9c44-0ef99b60efd8",
"uptime": {
"ms": 640029
}
},
"memstats": {
"memory_alloc": 3859152,
"gc_next": 7707440,
"rss": 31322112,
"memory_total": 98448456
},
"cpu": {
"total": {
"value": 1240,
"ticks": 1240,
"time": {
"ms": 1244
}
},
"user": {
"time": {
"ms": 384
},
"ticks": 380
},
"system": {
"ticks": 860,
"time": {
"ms": 860
}
}
},
"handles": {
"open": 15,
"limit": {
"hard": 4096,
"soft": 1024
}
}
},
"registrar": {
"states": {
"current": 31,
"update": 4329,
"cleanup": 0
},
"writes": {
"total": 151,
"fail": 0,
"success": 151
}
},
"filebeat": {
"harvester": {
"open_files": 4,
"skipped": 0,
"started": 37,
"closed": 33,
"running": 4
},
"input": {
"log": {
"files": {
"renamed": 0,
"truncated": 0
}
},
"netflow": {
"flows": 0,
"packets": {
"received": 0,
"dropped": 0
}
}
},
"events": {
"done": 4329,
"active": 0,
"added": 4329
}
}
}
}
},
"sort": [
1589447937647,
"doc"
]
}
已邀请:

medcl - 今晚打老虎。

赞同来自:

这种 rates 吞吐,用 datehistgram aggs,取对应指标的 count 就出来了。

Jiehui Tang

赞同来自:

哇,好全面的监控指标,这些指标数据是怎么获取的?好奇,我查metricbeat没有这种功能,是通过一个filebeat自带的接口获取的吗?
 

要回复问题请先登录注册