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?