# Missing tenant index

**URL:** https://forum.search-guard.com/t/missing-tenant-index/2416
**Category:** Search Guard
**Created:** [March 9, 2023, 1:20pm UTC](https://forum.search-guard.com/t/missing-tenant-index/2416 "2023-03-09T13:20:35Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![faxmodem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/faxmodem/32/22_2.png) [@faxmodem](https://forum.search-guard.com/u/faxmodem)
#### Post date: [March 9, 2023, 1:20pm UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/1 "2023-03-09T13:20:35Z")

</div>

In SG 7.10.2-53.1.0 we have an issue where we created a new tenant, and the kibana indices are not being created:

![image](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/2X/b/b7ace999088830268bb2c596dab461b053acf526.png)

A REST API call to `_cat/indices/.kibana*` confirms this.  
What could be the cause of the absent kibana index ?

---

<div class="post-metadata">

### Author: ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/pablo/32/1443_2.png) [@pablo](https://forum.search-guard.com/u/pablo)
#### Post date: [March 10, 2023, 9:15am UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/2 "2023-03-10T09:15:27Z")

</div>

@faxmodem Could you share your kibana.yml and sg\_config.yml files?

---

<div class="post-metadata">

### Author: ![faxmodem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/faxmodem/32/22_2.png) [@faxmodem](https://forum.search-guard.com/u/faxmodem)
#### Post date: [March 10, 2023, 9:16am UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/3 "2023-03-10T09:16:37Z")

</div>

sure, where can I send them to ?

---

<div class="post-metadata">

### Author: ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/pablo/32/1443_2.png) [@pablo](https://forum.search-guard.com/u/pablo)
#### Post date: [March 13, 2023, 1:44pm UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/4 "2023-03-13T13:44:16Z")

</div>

@faxmodem Did you upgrade your environment recently?  
How many nodes do you have in the cluster?

Could you share the output of the \_cluster/health?

---

<div class="post-metadata">

### Author: ![faxmodem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/faxmodem/32/22_2.png) [@faxmodem](https://forum.search-guard.com/u/faxmodem)
#### Post date: [March 13, 2023, 1:51pm UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/5 "2023-03-13T13:51:11Z")

</div>

```auto
epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
1678715428 13:50:28 beta green 10 6 7542 3769 0 0 0 0 - 100.0%

```

No recent upgrade, apart from the sg plugin

---

<div class="post-metadata">

### Author: ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/pablo/32/1443_2.png) [@pablo](https://forum.search-guard.com/u/pablo)
#### Post date: [March 16, 2023, 5:35pm UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/6 "2023-03-16T17:35:05Z")

</div>

@faxmodem Could you check if the logged-in user, from the screenshot, has read/write access to that `diractest ` tenant?

---

<div class="post-metadata">

### Author: ![faxmodem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/faxmodem/32/22_2.png) [@faxmodem](https://forum.search-guard.com/u/faxmodem)
#### Post date: [March 17, 2023, 2:25pm UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/7 "2023-03-17T14:25:46Z")

</div>

I’m an idiot. Of course he didn’t.  
I could say it’s YAML’s fault.  
But it’s totally mine 😭

Thanks @pablo

---

<div class="post-metadata">

### Author: ![nils](https://avatars.discourse-cdn.com/v4/letter/n/d6d6ee/32.png) [@nils](https://forum.search-guard.com/u/nils)
#### Post date: [March 20, 2023, 9:17am UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/8 "2023-03-20T09:17:58Z")

</div>

FYI: I have created an issue in order to improve the UX for this case:

> **[Improve UX for "No tenant or index" state (#429) · Issues · search-guard /...](https://git.floragunn.com/search-guard/search-guard-kibana-plugin/-/issues/429)**
>
> See https://forum.search-guard.com/t/missing-tenant-index/2416 As it is totally non-obvious how to solve this issue, we should try to improve the UX here:

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/system/32/1870_2.png) [@system](https://forum.search-guard.com/u/system)
#### Post date: [April 10, 2023, 9:18am UTC](https://forum.search-guard.com/t/missing-tenant-index/2416/9 "2023-04-10T09:18:26Z")

</div>

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