# Monitor.id duplicated on service restart

**URL:** https://discuss.elastic.co/t/monitor-id-duplicated-on-service-restart/176974
**Category:** Beats
**Tags:** heartbeat
**Created:** [April 15, 2019, 9:02pm UTC](https://discuss.elastic.co/t/monitor-id-duplicated-on-service-restart/176974 "2019-04-15T21:02:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RayS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rays/32/28268_2.png) [@RayS](https://discuss.elastic.co/u/RayS)
#### Post date: [April 15, 2019, 9:02pm UTC](https://discuss.elastic.co/t/monitor-id-duplicated-on-service-restart/176974/1 "2019-04-15T21:02:20Z")

</div>

Running version 7 of heartbeat. If I restart the heartbeat-elastic server I end up with duplicate monitor.id entries on the Heartbeat HTTP Monitoring Dashboard. Two questions:

1. Is this normal and if so what's the logic behind it?
2. Is there a way to give the monitor.id a "friendly" name?

 ![38%20PM](https://us1.discourse-cdn.com/elastic/original/3X/3/6/36b22a6858c4b228776106399917f89dedc119f4.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: [April 22, 2019, 5:10pm UTC](https://discuss.elastic.co/t/monitor-id-duplicated-on-service-restart/176974/2 "2019-04-22T17:10:32Z")

</div>

@RayS in Heartbeat 7 we generate stable IDs by hashing the individual monitor config. If you change any parameters for the monitor it will change the ID as a result. For this reason we recommend setting the `id` parameter explicitly in Heartbeat 7.

Does that explain what you're seeing? If you're seeing the ID change without accompanying config changes that would be a bug.

---

<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: [May 20, 2019, 5:10pm UTC](https://discuss.elastic.co/t/monitor-id-duplicated-on-service-restart/176974/3 "2019-05-20T17:10:42Z")

</div>

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