# Uptime not loading Heartbeat logs

**URL:** <https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [October 2, 2019, 3:32pm UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992 "2019-10-02T15:32:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorg](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@dorg](https://discuss.elastic.co/u/dorg)\
**Post date:** [October 2, 2019, 3:32pm UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/1 "2019-10-02T15:32:16Z")

</div>

Hello

We are using Elasticsearch 7.3 with kibana 7.2 versions.  
I set up Heartbeat (using docker) and configured the heartbeat.yml properly. After that I saw all of our services are exists under "Uptime" tab and saw that all of them are up and working.

Since few days ago, we dont see anything under "Uptime" tab - the verView screen are loading for ever and no data is coming (see attached screenshot)  
We suspect that it happened since we moved from Trail to Basics.

Another Notes:  
**I can see heartbeat data are coming under "Discover" tab.** (see attached screenshot)  
I also checked the logs of kibana and the logs of the heartbeat docker - no special errors.

any advice how I can debug this issue?

Thanks!

 ![Discover%20tab](https://us1.discourse-cdn.com/elastic/original/3X/8/e/8ec8e1b6594501e8a18eee39b836e5fa7f93d5d1.png) ![Uptime%20Overview%20tab](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb0ae845f6eaa06677124f434ceffd337276f43f.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [October 3, 2019, 9:36pm UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/2 "2019-10-03T21:36:26Z")

</div>

Thanks for the screenshots. This is definitely an unusual bug in that when no data is found Uptime should show an error. Can you check your browser's developer tools and see if a Javascript error is in the console in uptime?

---

<div class="post-metadata">

**Author:** ![SRS1](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@SRS1](https://discuss.elastic.co/u/SRS1)\
**Post date:** [October 11, 2019, 1:11pm UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/3 "2019-10-11T13:11:07Z")

</div>

> [@dorg](#):
>
> **I can see heartbeat data are coming under "Discover" tab.** (see attached screenshot)  
> I also checked the logs of kibana and the logs of the heartbeat docker - no special errors.

Same issue here....

Running docker-elk stack with heartbeat trough logstash. (data in discover are ok, uptime - loading)

---

<div class="post-metadata">

**Author:** ![ZMMWMY](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@ZMMWMY](https://discuss.elastic.co/u/ZMMWMY)\
**Post date:** [October 12, 2019, 5:38am UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/4 "2019-10-12T05:38:34Z")

</div>

Same issue:sweat\_smile:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/e/ce8bffe4e1ab0c30c28645a4d470b4fbf37fb699.jpeg) ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/0/20e281e065c9e5557aeb0e4d32ec8f468e58dc28.jpeg)

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [October 14, 2019, 12:53pm UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/5 "2019-10-14T12:53:32Z")

</div>

The field data error is caused by Elasticsearch mappings not being loaded. The most common cause of that is deleting the heartbeat indices while heartbeat is still running. By default ES will guess as to what the mapping should be and recreate the index with settings that the UI code cannot use.

The fix here is to stop all heartbeats, delete all heartbeat indices, then restart heartbeat.

If you are not connecting heartbeat directly to ES you will need to run `heartbeat setup` after deleting all indices and before starting re-indexing.

---

<div class="post-metadata">

**Author:** ![ZMMWMY](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@ZMMWMY](https://discuss.elastic.co/u/ZMMWMY)\
**Post date:** [October 15, 2019, 3:25am UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/6 "2019-10-15T03:25:05Z")

</div>

It's useful . thank you

---

<div class="post-metadata">

**Author:** ![SRS1](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@SRS1](https://discuss.elastic.co/u/SRS1)\
**Post date:** [October 21, 2019, 1:59pm UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/7 "2019-10-21T13:59:23Z")

</div>

I fixed my problem by adding the aliases manually:  
POST /\_aliases  
{  
"actions" : [  
{ "add" : { "index" : "CURRENT-HEARTBEAT-INDEX", "alias" : "heartbeat-7.2.0" } }  
]  
}

---

<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 18, 2019, 1:59pm UTC](https://discuss.elastic.co/t/uptime-not-loading-heartbeat-logs/201992/8 "2019-11-18T13:59:25Z")

</div>

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