Create a Widget with 3 bars for each day

Hi ,

I have a data that's uploaded to the elastic each day - one record for each day.
In each record I have 3 fields I want to show each day.
Is it possible to put all of the 3 side by side in a Kibana Visualization Chart (Vertical or another Chart ...) ? If yes , please explain.

Thanks :slight_smile:

not really sure i understand your question.

for each day you get values A, B and C ... you store them in index (one document with 3 fields).
now you want to display vertical bar chart showing you these values on per day basis ? so just for today for example ? or do you want to show it over the course of days ? (like time histogram)

if you are interested in just todays data, you can select TODAY in the timepicker in the top right corner. if you are interested n any other dates .... just select appropriate ranges

start with adding date histogram to the x axis, choose interval to be day. this requires that you are storing date with your records.

then change the default count metric to the average of field A.
add two more metrics: average of field B and average of field C.

now the bars will be stacked at this point. go to options tab and for bar mode choose grouped.

this should be it.

Thanks :slight_smile:
That's just what I needed.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.