# Analytics stops after upgrade from 7.17.1 to 8.5.2

**URL:** <https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [December 5, 2022, 9:48pm UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505 "2022-12-05T21:48:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Florent\_Andre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/florent_andre/32/78442_2.png) [@Florent\_Andre](https://discuss.elastic.co/u/Florent_Andre)\
**Post date:** [December 5, 2022, 9:48pm UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/1 "2022-12-05T21:48:32Z")

</div>

Dears Elasticians,

After an upgrade from 7.17 to 8.5, no more queries or clicks are available in the "Analytics" tab.

Older events are still available, but the new ones do not appears.

I try to force restart the cluster and de-activate / re-activate the Settings/logs retention with no success.

I use ES cloud and manage this upgrade from the "deployments ui".

thanks for your help,  
regards.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 5, 2022, 9:51pm UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/2 "2022-12-05T21:51:46Z")

</div>

Hi @Florent_Andre

Have you opened a support ticket? I would recommend that as you are a paying customer.

---

<div class="post-metadata">

**Author:** ![Florent\_Andre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/florent_andre/32/78442_2.png) [@Florent\_Andre](https://discuss.elastic.co/u/Florent_Andre)\
**Post date:** [December 6, 2022, 8:56am UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/3 "2022-12-06T08:56:24Z")

</div>

oups... thank you !

---

<div class="post-metadata">

**Author:** ![Carlos\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_d/32/126245_2.png) [@Carlos\_D](https://discuss.elastic.co/u/Carlos_D)\
**Post date:** [December 12, 2022, 8:58am UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/4 "2022-12-12T08:58:33Z")

</div>

Hi @Florent_Andre :

Unfortunately, this is a bug that impacts 8.5.1 and 8.5.2 releases. It is fixed for 8.5.3, so I'd recommend to upgrade to this version as soon as possible.

Your analytics data will be added once you upgrade to the new version - analytic events have not been lost, just not included in the analytics stats.

Sorry for the inconveniences.

---

<div class="post-metadata">

**Author:** ![Florent\_Andre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/florent_andre/32/78442_2.png) [@Florent\_Andre](https://discuss.elastic.co/u/Florent_Andre)\
**Post date:** [December 12, 2022, 12:05pm UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/5 "2022-12-12T12:05:35Z")

</div>

Hi @Carlos_D !  
I already upgrade thanks to the support.

As I first think events were lost, I'm really interested with theses words:

> [@Carlos\_D](#):
>
> analytic events have not been lost, just not included in the analytics stats

Do you know any solution to get lost stats back ?

Regards,

---

<div class="post-metadata">

**Author:** ![Carlos\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_d/32/126245_2.png) [@Carlos\_D](https://discuss.elastic.co/u/Carlos_D)\
**Post date:** [December 12, 2022, 12:50pm UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/6 "2022-12-12T12:50:20Z")

</div>

Analytics should be recorded in 8.5.1 and 8.5.2 and stored to disk. Upgrading to 8.5.3 should ingest these disk stored analytics.

Can you share more about the deployment method for Enterprise Search? Are you deploying on Elastic Cloud? Using Docker images?

---

<div class="post-metadata">

**Author:** ![Florent\_Andre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/florent_andre/32/78442_2.png) [@Florent\_Andre](https://discuss.elastic.co/u/Florent_Andre)\
**Post date:** [December 12, 2022, 1:29pm UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/7 "2022-12-12T13:29:41Z")

</div>

Sure, I use lovely elastic cloud.  
Quick double check, and I can confirm that the "should ingest these disk stored analytics.", goes to the dark side 😉

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/3/934c71f26e8711439283bf97d761db5395c377fb.png)

---

<div class="post-metadata">

**Author:** ![Carlos\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_d/32/126245_2.png) [@Carlos\_D](https://discuss.elastic.co/u/Carlos_D)\
**Post date:** [December 13, 2022, 10:06am UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/8 "2022-12-13T10:06:58Z")

</div>

Thanks for your feedback @Florent_Andre !

We were mistaken about the recoverability of the analytics. I'm afraid there's not a current procedure in Cloud for restoring the missing analytics.

Being in 8.5.3 (and eventually upgrading to 8.6) will ensure that your analytics work correctly.

Thanks for your help in diagnosing this. Please keep in touch for any help we can provide!

---

<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:** [January 10, 2023, 10:07am UTC](https://discuss.elastic.co/t/analytics-stops-after-upgrade-from-7-17-1-to-8-5-2/320505/9 "2023-01-10T10:07:16Z")

</div>

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