# Namespaced Synthetic monitors are missing after upgrade

**URL:** https://discuss.elastic.co/t/namespaced-synthetic-monitors-are-missing-after-upgrade/342286
**Category:** Synthetics
**Created:** [September 4, 2023, 8:55pm UTC](https://discuss.elastic.co/t/namespaced-synthetic-monitors-are-missing-after-upgrade/342286 "2023-09-04T20:55:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Marko\_Todoric](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marko_todoric/32/52975_2.png) [@Marko\_Todoric](https://discuss.elastic.co/u/Marko_Todoric)
#### Post date: [September 4, 2023, 8:55pm UTC](https://discuss.elastic.co/t/namespaced-synthetic-monitors-are-missing-after-upgrade/342286/1 "2023-09-04T20:55:19Z")

</div>

Hello everyone, after upgrading from 8.7.1 to 8.9.1 - I'm no longer able to see any of my monitored hosts **but one** from heartbeat in Kibana.  
I can confirm the data is there by looking at the discover but no hosts are showing up in either `Uptime -> Uptime Monitors` or `Synthetics -> Monitors`.  
I did notice 'Monitors in Synthetics may stop running' notice in changelog for 8.8.0, and I've logged in as user which has permissions to trigger updates in background but i still don't see any of my monitors.

I've also created new monitor from UI but then i can only see the new one, not any of my previously generated monitors.

The only one monitor that is available - it doesn't have namespace configured so it goes to 'default' namespace. It's configuration:

```auto
- type: http
  id: aws-node1-name
  name: Node 1 Name
  enabled: true
  schedule: '@every 60s'

  # Configure URLs to ping
  hosts: ["https://url.to.example.org/app/path?ping"]

  check.request:
    method: "GET"
    headers:
      "Entity-Protocol": "1"

  check.response:
    status: 200

```

And example of monitor with namespace (i have many of them, i will post one example though)

```auto
- type: http
  id: aws-node2-name
  name: node2.example.org
  enabled: true
  schedule: '@every 60s'
  data_stream.namespace: "aws_uptime"

  # Configure URLs to ping
  hosts: ["https://node2.example.org"]

  check.response:
    status: 302

```

I did try to remove/comment data\_stream configuration, forcing the heartbeat to use default namespace - and it showed up. Issue is only with namespaced monitors.

Previously (in 8.7.1), when no `data_stream.namespace` config is used, heartbeat will place all data in `heartbeat-8.7.1` index (or now in `heartbeat-8.9.1`), but for those monitors that have `data_stream.namespace` configured - it went to `synthetics-http-<namespace>`.  
It's still doing that but then it appears that some issue is preventing previously configured monitors to appear due to Kibana new way of adding monitors.  
Since only monitors added directly via Kibana are visible - and none of previously defined.

I'm not sure how do i resolve this but it's critical since alerts doesn't seem to be working either. Alerts that are tied to those monitors.  
Alerts have error message:

```auto
There has been a catastrophic error trying to install index level resources for the following registration context: observability.uptime. This may have been due to a non-additive change to the mappings, removal and type changes are not permitted. Full error: Error: Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms

```

---

<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: [September 5, 2023, 9:25am UTC](https://discuss.elastic.co/t/namespaced-synthetic-monitors-are-missing-after-upgrade/342286/2 "2023-09-05T09:25:16Z")

</div>

Hello @Marko_Todoric ,

Can you please verify what does your uptime setting index patterns contains, does it contains synthetics-\*?

You can add that manually to the settings. We had a migration to remove synthetics-\* by default from uptime app, since that data now appears in new synthetics app. but if you want to bring it back you can add that index manually. There was a realease note item in kibana regarding this.

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

Best Regards

---

<div class="post-metadata">

### Author: ![Marko\_Todoric](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marko_todoric/32/52975_2.png) [@Marko\_Todoric](https://discuss.elastic.co/u/Marko_Todoric)
#### Post date: [September 5, 2023, 10:04am UTC](https://discuss.elastic.co/t/namespaced-synthetic-monitors-are-missing-after-upgrade/342286/3 "2023-09-05T10:04:51Z")

</div>

Awsesome!!! Thank you very much. I've read release notes but I must've missed that one somehow.

Thanks a lot!

---

<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: [October 3, 2023, 12:05pm UTC](https://discuss.elastic.co/t/namespaced-synthetic-monitors-are-missing-after-upgrade/342286/4 "2023-10-03T12:05:31Z")

</div>

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