如何在Kibana 4中创造价值时间线图? [英] How to create value over time line chart in Kibana 4?

查看:283
本文介绍了如何在Kibana 4中创造价值时间线图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正面临以下问题。在Kibana 4中,我创建了一个基于我的弹性输入的折线图,但是我只能显示平均值,最小值,最大值,而不是每个时间段的实际值。发送字节。
在stackoverflow上的这个问题的最多answear都是关于Kibana 3(如何用Kibana 3创建价值时间图?),并且似乎在X轴上包括一个直方图,但我似乎找不到可以将它应用于Kibana 4我无法找到直方图面板,一旦我点击发现标签就有不断的搜索加载。

I'm facing a following problem. In Kibana 4 I've created a line chart based on my input from elasticeasrch but I can only display average, min, max instead of an actual value of the field per time, e.g. sent bytes. Most answears to that question on stackoverflow are about Kibana 3 (How to create value over time chart with Kibana 3?) and seem to include a Histogram on a X axis, yet I can't seem to find one which will enable me to apply them to Kibana 4. I was unable to find the histogram panel and once I click on the discover tab there is the constant Searching loading.

如果我的_source中有以下字段:
{timestamp:2015-06-02T10:16:44.0855,时间:587,threadName:线程组1-957,byte:1372,status ,latence:306,registerCall:404}

If I have the following fields in my _source: {"timestamp":"2015-06-02T10:16:44.0855","time":587,"threadName":"Thread Group 1-957","byte":1372,"status":"false","latence":306,"registerCall":"404"}

我想在Y轴和X上有字节数-axis是我的时间戳。

and I would like to have the number of bytes on the Y-axis and on the X-axis my timestamp.

任何帮助正确的方向将不胜感激:)

Any help in the right direction will be appreciated :)

推荐答案

对于X轴,Alcanzar说的是好的,但正如你所知,Y轴是有问题的。

For the X axis, what Alcanzar said is good, but as you notice, the Y axis is problematic.

Sum(由限制建议)可以工作,但由于它是聚合的,它显示了每个聚合桶中使用的总数,但这可能无意义你正在尝试展示什么你的问题不清楚你想要什么,所以我只是在这里猜测。一小时的请求,每个运行一分钟,发送1兆字节确实是60兆字节分钟,如果你试图显示超过一个小时使用的总容量(也许你根据每次使用的费用支付账单)。另一方面,如果你想在每次都显示高峰使用率,那将是错误的。

Sum (suggested by "Limit") works, but since it's aggregated, it shows the total used in each aggregated bucket, but that may be meaningless depending on what you are trying to show. Your question isn't clear on what you want, so I'm just guessing here. One hour of requests, each of which ran for one minute and sent 1 megabyte is indeed 60 megabytes-minutes, if you are trying to show total capacity used over than hour (maybe you are paying a bill based on usage per time). On the other hand, if you are trying to show peak usage in each time, it would be wrong.

你说你已经看过Max和Min,满足您的需求我不认为标准偏差会更好吗?

You said you already looked and Max and Min and they don't meet your needs. I don't suppose Standard Deviation would be any better?

我也有同样的担忧。我能够做的最好的是
在Y轴上同时显示Min和Max。当他们分歧时,我知道我被放大得太远了,所以我放大直到他们对齐。

这是我如何知道我看到个人事件。

I have the same concern. The best I've been able to do so far is display Min and Max simultaneously in the Y axis. When they diverge, I know I'm zoomed out too far, so I zoom in until they align. This is how I know I'm seeing individual events.

无论如何,我分享你的沮丧。我也希望能够像Excel那样轻松地展示时间序列。

In any case, I share your frustration. I too would like to be able to show time series as easily as I can in, say, Excel.

这篇关于如何在Kibana 4中创造价值时间线图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆