kibana - display average times

2019-04-08 12:51发布

问题:

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?

回答1:

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.

You can try it at the live demo, pretty quick. bytes is a good field to use.