Create an index for each tenant.
Thus, you can use a proxy (for example, the kibana host application) to intercept the request and return settings that include the index used.
The value indicating the index used can be registered by the user or you can get this value somewhere else.
To separate even more data, you can use a prefix in each index name, and then when you specify an index, you can use a template so that the entire index only binds to a specific type of data / entity.
I hope for this help.
source share