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.
我面临以下问题。在Kibana 4中,我根据来自elasticeasrch的输入创建了折线图,但我只能显示平均值,最小值,最大值,而不是每次显示字段的实际值,例如发送字节。 stackoverflow上关于那个问题的大多数回答都是关于Kibana 3(如何用Kibana 3创建随时间变化的图表?)并且似乎在X轴上包含直方图,但我似乎无法找到一个能够让我申请的他们到Kibana 4.我无法找到直方图面板,一旦我点击发现选项卡,就会有不断的搜索加载。
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"}
如果我在_source中有以下字段:{“timestamp”:“2015-06-02T10:16:44.0855”,“time”:587,“threadName”:“线程组1-957”,“byte”:1372 “状态”: “假”, “潜伏期”:306, “registerCall”: “404”}
and I would like to have the number of bytes on the Y-axis and on the X-axis my timestamp.
我希望Y轴和X轴上的字节数是我的时间戳。
Any help in the right direction will be appreciated :)
任何正确方向的帮助将不胜感激:)
To create a value over time line chart in Kibana, follow these steps: Go to visualize tab and select line chart In the X-axis, select X-axis
, Aggregation as Date Histogram
and then select your timestamp
field as the date field.
要在Kibana中创建时间线图表上的值,请按照下列步骤操作:转到“可视化”选项卡并选择折线图在X轴中,选择“X轴”,“聚合”作为“日期直方图”,然后选择时间戳字段作为日期字段。
Next for the Y-Axis, select Sum
as the aggregation and then bytes
as the field.
接下来是Y轴,选择Sum作为聚合,然后选择字节作为字段。
For the X axis, what Alcanzar said is good, but as you notice, the Y axis is problematic.
对于X轴,Alcanzar说的很好,但正如您所注意到的,Y轴是有问题的。
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.
Sum(由“Limit”建议)有效,但由于它是聚合的,它显示了每个聚合桶中使用的总量,但这可能毫无意义,具体取决于您要显示的内容。你的问题不清楚你想要什么,所以我只是在这里猜测。一小时的请求,每个请求运行一分钟并发送1兆字节确实是60兆字节,如果您尝试显示超过一小时的总容量(可能您根据每次使用情况支付账单)。另一方面,如果您尝试在每次显示峰值使用情况,那将是错误的。
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?
你说你已经看过了Max和Min,他们不能满足你的需求。我不认为标准偏差会更好吗?
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.
我有同样的担忧。到目前为止,我能做到的最好的是在Y轴上同时显示Min和Max。当它们发散时,我知道我缩小了太远,所以我放大直到它们对齐。这就是我知道我看到的个人事件。
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.
无论如何,我分享你的沮丧。我也希望能够像Excel一样轻松地显示时间序列。
本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.silva-art.net/blog/2015/05/08/9b8cbc1981e0561bbd856867dc94944f.html。