stormpython / heatmap

Heatmap Plugin for Kibana 4
MIT License
55 stars 13 forks source link

The size and the line display is not corresponding #27

Closed yhgcn closed 8 years ago

yhgcn commented 8 years ago

select: Data->buckets->Rows Sub Aggregation=Terms Order=Descending Size=?

display lines: if Size=1, Then display line number=3 if Size=2, Then display line number=4 if Size=3, Then display line number=5 if Size=4, Then display line number=8 if Size=5, Then display line number=10 if Size=6, Then display line number=12 if Size=7, Then display line number=16 if Size=8, Then display line number=19 ……

stormpython commented 8 years ago

@yhgcn I am confused. What do you mean by display line? Could you include screen shots?

stormpython commented 8 years ago

Size: 1

screen shot 2016-04-16 at 7 27 02 am

Size: 2

screen shot 2016-04-16 at 7 27 20 am

Size: 3

screen shot 2016-04-16 at 7 27 39 am
yhgcn commented 8 years ago

Try Size>7

May be the cause of the cache, change a few times more “Size” value will repeat mistakes.

20160417211520

qq 20160417215249

stormpython commented 8 years ago

@yhgcn The issue that you are having has to do with the order of your aggregations. The size of rows represents that max number of items in each column bucket. If you want to see a 1:1 match of the size in the rows aggregation to the number of rows you see in the visualization, move the rows aggregation above the columns aggregation.

Click here: example