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
It's close! This will take the max peak load out of all documents. We'll want to scroll down add two aggregations on the x-axis. The first will be date histogram, and the second will be sub bucket using split series with a terms aggregation on the host field.
Sure. We're breaking our metrics down into groups.
First we start with all of our documents in one group. In your screenshot above we're asking for maximum RxPeakKbps, so it's going to give us the maximum overall. When we scroll down and add bucket aggregations, we're splitting these metrics up into more groups.
So we'll say make groups of equal size over our time range, and this'll give us an x value (time range), and y (max RxPeakKbps for this time range). Splitting the series will take each group(time range) and split it further into groups by hostname, giving us two RxPeakKbps to plot.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.