Getting Multiple Indices for same Tenant

14 views
Skip to first unread message

mchak...@zuora.com

unread,
Mar 26, 2019, 1:36:27 PM3/26/19
to search...@googlegroups.com
Why am I getting multiple indices for the same Tenant on Searchguard? Is this an intended outcome?

I have a tenant called 'admintenant', but the system indices show ''kibana_admintenant_1" and "kibana_admintenant_2".
Also, the "kibana_admintenant_2" has an alias set to "kibana_admintenant".

I do not understand why it is creating two separate indices, and if it is safe to delete one of them.

Thank you.

Configurations:
Searchguard version: 6.6.1-18.1 
Elastic Version: 6.6.1
OS version: CentOS Version 7
Elastic master nodes: 5 (statefulset)
Elastic data nodes: 4 (statefulset)



Jochen Kressin

unread,
Mar 27, 2019, 4:03:42 AM3/27/19
to Search Guard Community Forum
The indices are not created by Search Guard, but by Kibana. This feature ("saved objects migrations") was added in Kibaba 6.5:

https://www.elastic.co/guide/en/kibana/current/upgrade-migrations.html

With multi-tenancy the saved objects are stored in a separate index per tenant, tthus the saved objects migrations are applied to each tenant index.
Reply all
Reply to author
Forward
0 new messages