# No index-level perm match

**URL:** <https://forum.search-guard.com/t/no-index-level-perm-match/475>\
**Category:** Search Guard\
**Created:** [June 9, 2017, 2:31pm UTC](https://forum.search-guard.com/t/no-index-level-perm-match/475 "2017-06-09T14:31:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ezegyfelhasznalonev](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@ezegyfelhasznalonev](https://forum.search-guard.com/u/ezegyfelhasznalonev)\
**Post date:** [June 9, 2017, 2:31pm UTC](https://forum.search-guard.com/t/no-index-level-perm-match/475/1 "2017-06-09T14:31:38Z")

</div>

Hey all,

All of a sudden, I see these errors in my Elasticsearch logs:  
[2017-06-09T16:27:54,004][ERROR][c.f.s.a.BackendRegistry] Not yet initialized (you may need to run sgadmin)  
[2017-06-09T16:27:54,008][ERROR][c.f.s.a.BackendRegistry] Not yet initialized (you may need to run sgadmin)  
[2017-06-09T16:27:54,021][INFO][o.e.c.r.a.AllocationService] [sHQzypY] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] …]).  
[2017-06-09T16:27:54,071][INFO][c.f.s.c.IndexBaseConfigurationRepository] Node ‘sHQzypY’ initialized  
[2017-06-09T16:27:55,499][INFO][c.f.s.c.PrivilegesEvaluator] No index-level perm match for User [name=kibanaserver, roles=] [IndexType [index=\_all, type=esqueue]] [Action [indices:data/read/search]] [RolesChecked [sg\_kibana\_server, sg\_own\_index, sg\_public]]  
[2017-06-09T16:27:55,499][INFO][c.f.s.c.PrivilegesEvaluator] No permissions for {sg\_public=[IndexType [index=\_all, type=esqueue]], sg\_own\_index=[IndexType [index=\_all, type=esqueue]], sg\_kibana\_server=[IndexType [index=\_all, type=esqueue]]}

``

If I add permission for it, then this error appears:  
[2017-06-09T15:46:53,705][WARN][c.f.s.c.PrivilegesEvaluator] \_all does not exist in cluster metadata  
[2017-06-09T15:46:53,705][WARN][c.f.s.c.PrivilegesEvaluator] \_all does not exist in cluster metadata

``

Because of it, Kibana is not able to connect.

Does anyone have any clue why is this happening?

Thank you very much,  
Ádám

---

<div class="post-metadata">

**Author:** ![ezegyfelhasznalonev](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@ezegyfelhasznalonev](https://forum.search-guard.com/u/ezegyfelhasznalonev)\
**Post date:** [June 9, 2017, 2:59pm UTC](https://forum.search-guard.com/t/no-index-level-perm-match/475/2 "2017-06-09T14:59:50Z")

</div>

It looks like I forgot to re-disable monitoring and Watcher in Kibana.  
After I did that, the errors went away.

> **···**
>
> On Friday, June 9, 2017 at 4:31:39 PM UTC+2, [ezegyfelh...@gmail.com](mailto:ezegyfelh...@gmail.com) wrote:
> 
> > Hey all,
> > 
> > All of a sudden, I see these errors in my Elasticsearch logs:  
> > [2017-06-09T16:27:54,004][ERROR][c.f.s.a.BackendRegistry] Not yet initialized (you may need to run sgadmin)  
> > [2017-06-09T16:27:54,008][ERROR][c.f.s.a.BackendRegistry] Not yet initialized (you may need to run sgadmin)  
> > [2017-06-09T16:27:54,021][INFO][o.e.c.r.a.AllocationService] [sHQzypY] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] …]).  
> > [2017-06-09T16:27:54,071][INFO][c.f.s.c.IndexBaseConfigurationRepository] Node ‘sHQzypY’ initialized  
> > [2017-06-09T16:27:55,499][INFO][c.f.s.c.PrivilegesEvaluator] No index-level perm match for User [name=kibanaserver, roles=] [IndexType [index=\_all, type=esqueue]] [Action [indices:data/read/search]] [RolesChecked [sg\_kibana\_server, sg\_own\_index, sg\_public]]  
> > [2017-06-09T16:27:55,499][INFO][c.f.s.c.PrivilegesEvaluator] No permissions for {sg\_public=[IndexType [index=\_all, type=esqueue]], sg\_own\_index=[IndexType [index=\_all, type=esqueue]], sg\_kibana\_server=[IndexType [index=\_all, type=esqueue]]}
> 
> > ``
> 
> > If I add permission for it, then this error appears:  
> > [2017-06-09T15:46:53,705][WARN][c.f.s.c.PrivilegesEvaluator] \_all does not exist in cluster metadata  
> > [2017-06-09T15:46:53,705][WARN][c.f.s.c.PrivilegesEvaluator] \_all does not exist in cluster metadata
> 
> > ``
> 
> > Because of it, Kibana is not able to connect.
> > 
> > Does anyone have any clue why is this happening?
> > 
> > Thank you very much,  
> > Ádám
