# Synthetics Monitoring

**URL:** <https://discuss.elastic.co/t/synthetics-monitoring/363725>\
**Category:** Synthetics\
**Created:** [July 24, 2024, 2:57pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725 "2024-07-24T14:57:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [July 24, 2024, 2:57pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/1 "2024-07-24T14:57:20Z")

</div>

Hi All,

We are running the elk stack version 8.13.4 and have recently started using synthetics to monitor a few services. We could see that the data after each poll is being saved in indices backed by synthetics datastream. The issue we are facing is regarding the monitors which were deleted from the GUI but still report. We could see the data coming for these monitors under discover (synthetics data view). The documentation says that the API support is present from 8.14 onwards. Given this context I have the following two questions

1. Why do deleted monitors keep on sending data? Is it a known bug?
2. How can we permanently delete these monitors so that we do not see any data in the synthetics dataview

---

<div class="post-metadata">

**Author:** ![shahzad31](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahzad31/32/51637_2.png) [@shahzad31](https://discuss.elastic.co/u/shahzad31)\
**Post date:** [July 25, 2024, 7:54am UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/2 "2024-07-25T07:54:45Z")

</div>

@Ankita_Pachauri Deleted monitors should never report any data. can you please tell me if you are seeing data from private locations or elastic managed locations?

Maybe you have those monitors in difference kibana space?

if they are on private locations, can you see when you deleted those, maybe somehow related integeration policies didn't get deleted? you can check those in Synthetics Integeration in fleet app.

---

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [July 25, 2024, 11:25am UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/3 "2024-07-25T11:25:01Z")

</div>

Hi,  
I have deleted the monitor from private location but it still reports data.

Is there any way to check if any stale process left and how can it be deleted.

---

<div class="post-metadata">

**Author:** ![shahzad31](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahzad31/32/51637_2.png) [@shahzad31](https://discuss.elastic.co/u/shahzad31)\
**Post date:** [July 25, 2024, 12:05pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/4 "2024-07-25T12:05:53Z")

</div>

@Ankita_Pachauri can you please check if you have any integration policies in in this view

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/4/64bf3e5c0359f0cff29712ebca6d0412353227df.png)

---

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [July 29, 2024, 2:36pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/5 "2024-07-29T14:36:09Z")

</div>

Hi,  
Yes, I have checked and found nothing. Still, the data is coming but the tags field is coming as blank.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b7fac055d6706d3377a566f6006ac5542410b468.png)

---

<div class="post-metadata">

**Author:** ![Alex\_Salgado-Elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_salgado-elastic/32/103081_2.png) [@Alex\_Salgado-Elastic](https://discuss.elastic.co/u/Alex_Salgado-Elastic)\
**Post date:** [July 30, 2024, 2:01pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/6 "2024-07-30T14:01:36Z")

</div>

Hello, have you checked if the configurations in heartbeat.yml are updated without the monitor?

---

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [July 30, 2024, 7:01pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/7 "2024-07-30T19:01:44Z")

</div>

Hi,  
Where can I find heartbeat.yml file since I am using synthetics.

---

<div class="post-metadata">

**Author:** ![Alex\_Salgado-Elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_salgado-elastic/32/103081_2.png) [@Alex\_Salgado-Elastic](https://discuss.elastic.co/u/Alex_Salgado-Elastic)\
**Post date:** [July 30, 2024, 9:08pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/8 "2024-07-30T21:08:38Z")

</div>

If you followed this tutorial ([Create monitors with Project monitors | Elastic Observability [8.14] | Elastic](https://www.elastic.co/guide/en/observability/current/synthetics-get-started-project.html)), it will be in the project folder.

If in doubt, if you are running on Linux or Mac, search for the file using the command:

```auto
grep -r "heartbeat.monitors" /path/to/folder --include \*.yml

```

or

```auto
find /path/to/folder -name "heartbeat.yml"

```

---

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [July 31, 2024, 12:05pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/9 "2024-07-31T12:05:37Z")

</div>

Hi,  
Thanks for your response.  
I am using Synthetics app via Kibana GUI and not the project monitors. Also, I tried using the find command and found the heartbeat.yml file, however it is the sample file that comes along with the beats package.

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

---

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [August 1, 2024, 1:55pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/10 "2024-08-01T13:55:45Z")

</div>

Hi,  
Can anyone help on this?

---

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [August 6, 2024, 1:08pm UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/11 "2024-08-06T13:08:34Z")

</div>

Hi Team,  
Is anyone aware of this?

---

<div class="post-metadata">

**Author:** ![emilioalvap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emilioalvap/32/99310_2.png) [@emilioalvap](https://discuss.elastic.co/u/emilioalvap)\
**Post date:** [August 8, 2024, 10:51am UTC](https://discuss.elastic.co/t/synthetics-monitoring/363725/12 "2024-08-08T10:51:57Z")

</div>

Hi @Ankita_Pachauri,

I would recommend starting by locating the elastic agent that is sending the events for the deleted monitor. You should be able to do so by looking at the `agent.*` field family in discover:

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

Once you locate the agent, the first step is checking whether this is a Fleet-managed agent. If so, you should be able to find it in Kibana -\> Fleet -\> Agents.

Two options here; 1) the agent is not in the list, so it's not managed by Fleet. In this case, there's likely a [standalone agent](https://www.elastic.co/guide/en/fleet/current/install-standalone-elastic-agent.html) deployed with a static configuration. You'll need to find where the agent is deployed and update the configuration accordingly.  
2) agent is managed by Fleet. I'd start by checking that the agent is enrolled in agent policy pertaining to a private location and it's status:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/0/d0d531d703887905d1234041b6be5596afab90c0.png)

Check that the agent policy does not include any inputs of `type: synthetics/<browser, http, tcp, icmp>`. If it does not contain any synthetics inputs, request an elastic agent [diagnostics package](https://www.elastic.co/guide/en/fleet/current/fleet-troubleshooting.html#trb-collect-agent-diagnostics) and make sure that the returned configuration does not contain any synthetics inputs as well.
