日志文件的平均响应时间
我是Elastic和Kibana的新手,我正在研究包含有关某些操作不同级别操作的信息的日志文件,我有一个场时间戳记,代表每个操作在每个级别上发生的时间。
我想计算每个级别上花费的平均时间以在Kibana上可视化,问题是我在文档中没有找到某些内容,或者我没有选择正确的关键字。
作为提醒,我想计算操作的每个步骤的时间平均处理时间,以便我可以在Kibana上可视化。
这是我日志的一个景象。
{“ log_level”:“ info”,“ timestamp”:“ 2021-12-22T11:49:06.124890Z”,“ event_type”:“ step1”:“ step1”,“ mid”:“ 96712abc”} {“ log_level”:“ log_level”:“ info” ,“时间戳”:“ 2021-12-22T11:49:07.7066999Z”,“ event_type”:“ step2”,“ mid”:“ 96712ABC”} {“ log_level”:“ info”,“ timestamp”:“ 2021-12-22T11:49:08.124890Z”,“ event_type”:“ step3”,“中间”:“ 96712ABC”}
I'm new to Elastic and Kibana, I'm working on log files that contains information about some operations on differents levels, I have a field timestamp that represent time when each operation has occured on each level.
I want to calculate the average time spent on each level to visualize it on Kibana, the problem is I did not find something in the documentation or I didn't chose the correct keyword.
As a reminder I want to calculate the time Average processing time for each step of the operation so I can visualize it on Kibana.
This is an exemple of my logs.
{“log_level”:“INFO”,“timestamp”:“2021-12-22T11:49:06.124890Z”,“event_type”:“step1”,“mid”:“96712abc”}{“log_level”:“INFO”,“timestamp”:“2021-12-22T11:49:07.706699Z”,“event_type”:“step2”,“mid”:“96712abc”}
{“log_level”:“INFO”,“timestamp”:“2021-12-22T11:49:08.124890Z”,“event_type”:“step3”,“mid”:“96712abc”}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论