# How to add heartbet field to alerts index

**URL:** https://discuss.elastic.co/t/how-to-add-heartbet-field-to-alerts-index/254697
**Category:** Kibana
**Created:** [November 9, 2020, 12:43am UTC](https://discuss.elastic.co/t/how-to-add-heartbet-field-to-alerts-index/254697 "2020-11-09T00:43:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Adriann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adriann/32/77780_2.png) [@Adriann](https://discuss.elastic.co/u/Adriann)
#### Post date: [November 9, 2020, 12:43am UTC](https://discuss.elastic.co/t/how-to-add-heartbet-field-to-alerts-index/254697/1 "2020-11-09T00:43:15Z")

</div>

Hello,

I want to configure alerting for uptime monitors by the general rule that would apply to any monitor.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f3f0fbf4cfd0b611d12f628846a4a055f456a5c.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0c4f4754c8db728ef6dff8be3215f814053aa23a.png)

To be able to connect my code to this I need some filed to knew which host general alert says about.

Right now I am not able to add such a field.

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

Is It event possible?

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [November 11, 2020, 5:41pm UTC](https://discuss.elastic.co/t/how-to-add-heartbet-field-to-alerts-index/254697/2 "2020-11-11T17:41:08Z")

</div>

I'm catching up on unanswered posts in discuss, and I am a bit confused about what your question is. Can you be more specific about:

- What is your goal?
- What have you tried already?
- Where do you think the problem is?

---

<div class="post-metadata">

### Author: ![Adriann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adriann/32/77780_2.png) [@Adriann](https://discuss.elastic.co/u/Adriann)
#### Post date: [November 11, 2020, 9:42pm UTC](https://discuss.elastic.co/t/how-to-add-heartbet-field-to-alerts-index/254697/3 "2020-11-11T21:42:22Z")

</div>

Hi @wylie,

I finally noticed that the alert field context\_monitor contains the "id" from the heartbeat file. So there is no more an issue.

---

<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 9, 2020, 9:42pm UTC](https://discuss.elastic.co/t/how-to-add-heartbet-field-to-alerts-index/254697/4 "2020-12-09T21:42:22Z")

</div>

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