# \[interval\] on \[date\_histogram\] is deprecated, use \[fixed\_interval\] or \[calendar\_interval\] in the future

**URL:** <https://discuss.elastic.co/t/interval-on-date-histogram-is-deprecated-use-fixed-interval-or-calendar-interval-in-the-future/202372>\
**Category:** Elasticsearch\
**Created:** [October 4, 2019, 6:26pm UTC](https://discuss.elastic.co/t/interval-on-date-histogram-is-deprecated-use-fixed-interval-or-calendar-interval-in-the-future/202372 "2019-10-04T18:26:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Chirillo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tony_chirillo/32/22647_2.png) [@Tony\_Chirillo](https://discuss.elastic.co/u/Tony_Chirillo)\
**Post date:** [October 4, 2019, 6:26pm UTC](https://discuss.elastic.co/t/interval-on-date-histogram-is-deprecated-use-fixed-interval-or-calendar-interval-in-the-future/202372/1 "2019-10-04T18:26:52Z")

</div>

We Updated a QA ELK stack to ES 7.3.2 and since then then this message is all over the ES logs.

[interval] on [date\_histogram] is deprecated, use [fixed\_interval] or [calendar\_interval] in the future.

According to this thread, this might be a bug.

> [@WARN log in Elasticsearch every time i enable refresh interval in Kibana](https://discuss.elastic.co/t/warn-log-in-elasticsearch-every-time-i-enable-refresh-interval-in-kibana/190463/3):
>
> But how can this be released with this error spamming the logs? Seems like this did not properly go through testing.... I mean the log is telling me to use fixed\_interval or calendar\_interval. How do i switch to fixed\_interval from interval?

Does anyone know if this issue has been fixed in 7.4.0 ? Thoughts?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 7, 2019, 12:56pm UTC](https://discuss.elastic.co/t/interval-on-date-histogram-is-deprecated-use-fixed-interval-or-calendar-interval-in-the-future/202372/2 "2019-10-07T12:56:48Z")

</div>

The referenced PR has a `7.4.0` label, which means that this issue has been solved in that version. See [https://github.com/elastic/kibana/pull/39665](https://github.com/elastic/kibana/pull/39665)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2019, 12:57pm UTC](https://discuss.elastic.co/t/interval-on-date-histogram-is-deprecated-use-fixed-interval-or-calendar-interval-in-the-future/202372/3 "2019-11-04T12:57:00Z")

</div>

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