Non stacked bars in Timelion (Kibana 5 - rc1)


(Jettro Coenradie) #1

Hi,
I am trying out Timelion and I want two different queries each represented as a bar. I am doing the following query:

.es(index=raw_events-*,
  timefield=createDate,
  q='name:execute_search',
  kibana=true).label('Zoeken').bars(stack=false),
.es(index=raw_events-*,
  timefield=createDate,
  q='name:search_click_job',
  kibana=true).label('Klikken').bars(stack=false)

As you can see I am adding stack=false to both bars. But my image shows stacked bars. Am I doing something wrong or is there a bug?


Timelion Bar stacking with stack=off parameter -- bug?
(Spencer Alger) #2

I'm pretty sure that what you are actually seeing is "Klikken" rendered on top of "Zoeken", which looks like stacking but the total bar height is decided by the largest value, rather than the sum of all values


(Jettro Coenradie) #3

I checked it and you are right. Is it possible to present the bars next to each other, just like the Kibana bar chart?


(Spencer Alger) #4

I'm trying to verify, but I don't think so. I suggest opening an issue at https://github.com/elastic/kibana/issues


#5

Hi
Issue has been raised as an enhancement: https://github.com/elastic/timelion/issues/111
P.


(system) #6