1

how to display two lines for same field but from different hosts in same visualization using kibana?

I have peakload values from two different hosts and i want them to be displayed in same visualization each line representing peakload values for each host.

suppose there is host1 and host2. then line1 should represent peakload values for host1 and line2 should represent peakload values for host2. how should i do it? Both the lines should be present in same visualization

Edit 1:

this is the plot for graph containing peakload from single host but if i have multiple hosts, how to plot peakload values from multiple hosts in same plot

plot

4

1 回答 1

0

Y轴

聚合 -Max

场地 -MaxPeakLoad

X轴

聚合 -Date Histogram

场地 -Timestamp

间隔 -Auto

分体系列

子聚合 -Terms

字段 -beat.hostname或某些具有您的主机名的字段。理想情况下,如果您使用 filebeat 或 metricbeat,您将拥有一个类似 beat.hostname 的字段,该字段具有主机名

订购方式 -metric:Max或您的偏好

由于我们按主机名字段进行聚合,因此如果您将 10 台主机的数据发送到您的集群,所有这些主机都应显示在此可视化中。

于 2018-10-15T02:31:24.750 回答