# Warning After Upgrading to 7.15.2

**URL:** <https://discuss.elastic.co/t/warning-after-upgrading-to-7-15-2/288927>\
**Category:** Kibana\
**Created:** [November 10, 2021, 9:08pm UTC](https://discuss.elastic.co/t/warning-after-upgrading-to-7-15-2/288927 "2021-11-10T21:08:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Liles](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_liles/32/71903_2.png) [@Brandon\_Liles](https://discuss.elastic.co/u/Brandon_Liles)\
**Post date:** [November 10, 2021, 9:08pm UTC](https://discuss.elastic.co/t/warning-after-upgrading-to-7-15-2/288927/1 "2021-11-10T21:08:35Z")

</div>

After upgrading a test cluster to 7.15.2 I see this warning when running Kibana queries in Discover constantly:

299 Elasticsearch-7.15.2-93d5a7f6192e8a1a12e154a2b81bf6fa7309da0c "Camel case format name dateOptionalTime is deprecated and will be removed in a future version. Use snake case name date\_optional\_time instead."

What is strange is that using the Kibana Inspect tab, I've tried running the query against ES directly and I don't get the warning back.

---

<div class="post-metadata">

**Author:** ![Brandon\_Liles](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_liles/32/71903_2.png) [@Brandon\_Liles](https://discuss.elastic.co/u/Brandon_Liles)\
**Post date:** [November 10, 2021, 9:26pm UTC](https://discuss.elastic.co/t/warning-after-upgrading-to-7-15-2/288927/2 "2021-11-10T21:26:33Z")

</div>

I believe I found the issue, our index templates still had dateOptionalTime instead of date\_optional\_time.

---

<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:** [December 8, 2021, 9:26pm UTC](https://discuss.elastic.co/t/warning-after-upgrading-to-7-15-2/288927/3 "2021-12-08T21:26:46Z")

</div>

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