kibana-显示平均时间 [英] kibana - display average times
问题描述
我正在使用kibana 3来显示我的nginx日志,其中包括request_time,我想要一个图表来显示kibana中最近x秒的平均请求时间,但不确定如何执行此操作.这很容易做到吗,还是我需要将其推出石墨?
I am using kibana 3 to display my nginx logs which include the request_time, I would like a graph to display the average request times over the last x seconds in kibana but am not sure how todo this. Is this easily done or do I need to push it out to graphite?
推荐答案
您将要找到直方图设置面板.应该有一个标有配置"或类似名称的齿轮图标.在那里,找到面板的模式"设置:
You're going to want to find the histogram settings panel. There should be a gear icon labelled "configure" or some such. Once there, find the panel's "mode" setting:
选择均值"模式,然后选择要显示的字段.请注意,您必须选择一个字段,并且该字段必须为数字,否则直方图将引发错误.
Pick "mean" mode, then select the field you'd like to show. Note you must select a field, and that field must be numeric, or the histogram will throw an error.
您可以在实时演示中进行尝试,非常快捷. bytes
是一个很好的字段.
You can try it at the live demo, pretty quick. bytes
is a good field to use.
这篇关于kibana-显示平均时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!