# Error on UPTIME

**URL:** https://discuss.elastic.co/t/error-on-uptime/217517
**Category:** Beats
**Tags:** heartbeat
**Created:** [February 2, 2020, 9:48am UTC](https://discuss.elastic.co/t/error-on-uptime/217517 "2020-02-02T09:48:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nikhilesh](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nikhilesh](https://discuss.elastic.co/u/nikhilesh)
#### Post date: [February 2, 2020, 9:48am UTC](https://discuss.elastic.co/t/error-on-uptime/217517/1 "2020-02-02T09:48:03Z")

</div>

ror: [illegal\_argument\_exception] Fielddata is disabled on text fields by default. Set fielddata=true on [monitor.id] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1ff2002cee5649ff79d7b684d54bbf90e40fb4e6.png)

---

<div class="post-metadata">

### Author: ![nikhilesh](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nikhilesh](https://discuss.elastic.co/u/nikhilesh)
#### Post date: [February 2, 2020, 9:48am UTC](https://discuss.elastic.co/t/error-on-uptime/217517/2 "2020-02-02T09:48:34Z")

</div>

any idea on this please?

---

<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: [February 4, 2020, 10:54pm UTC](https://discuss.elastic.co/t/error-on-uptime/217517/3 "2020-02-04T22:54:15Z")

</div>

This is due to deleting data in Elasticsearch while heartbeat is still running. The easiest fix here is to:

1. Stop heartbeat
2. Delete your ES heartbeat indices: `heartbeat-*` should match them
3. Start heartbeat

---

<div class="post-metadata">

### Author: ![nikhilesh](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nikhilesh](https://discuss.elastic.co/u/nikhilesh)
#### Post date: [February 5, 2020, 10:35am UTC](https://discuss.elastic.co/t/error-on-uptime/217517/4 "2020-02-05T10:35:26Z")

</div>

Thanks for this, it worked:)

---

<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: [March 4, 2020, 10:40am UTC](https://discuss.elastic.co/t/error-on-uptime/217517/5 "2020-03-04T10:40:30Z")

</div>

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