Minute Interval aggregation


(Skolty) #1

Hi Guys !

I have installed ElasticSearch and it works well :slight_smile:

But I have a question concerning aggregates. I have data like this :
Start Event : 2017-01-01T08:00:00
End Event : 2017-01-01T09:00:00

I'm trying to make a date histogram with a minute range and count the number of event that are running per minutes.

So when I'm creating my date histogramm the example value that I wrote upside is aggregate in the minute 08:00 but not in 08:01 and it should because the event is still up at this time...

Can anyone help me to find a solution ?

Thanks in advance ! :slight_smile:


(Christian Dahlqvist) #2

I believe a similar scenario was discussed in this thread, although it had starting time and duration in each event instead of start and end time.


(Skolty) #3

Thanks ! I did what I wanted by following your link ! :slight_smile:


(system) #4

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