Date_histogram interval versus fixed_interval and calendar_interval

I am upgrading to elasticsearch 8 which doesn't support the interval on date_histogram anymore. Instead it expects a fixed_interval or calendar_interval.

I am a bit confused about the old interval field. Does interval: 'month' in previous elasticsearch versions correspond to fixed_interval: 'month' or calendar_interval: 'month' in elasticsearch 8?

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