# Is there any api or some solution for mapped kibana indices name to per user for private tenant?

**URL:** <https://forum.opensearch.org/t/is-there-any-api-or-some-solution-for-mapped-kibana-indices-name-to-per-user-for-private-tenant/3604>\
**Category:** Security\
**Created:** [August 26, 2020, 7:52am UTC](https://forum.opensearch.org/t/is-there-any-api-or-some-solution-for-mapped-kibana-indices-name-to-per-user-for-private-tenant/3604 "2020-08-26T07:52:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jyl](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jyl](https://forum.opensearch.org/u/jyl)\
**Post date:** [August 26, 2020, 7:52am UTC](https://forum.opensearch.org/t/is-there-any-api-or-some-solution-for-mapped-kibana-indices-name-to-per-user-for-private-tenant/3604/1 "2020-08-26T07:52:41Z")

</div>

Hello?

Is there any api or some solution for mapped kibana indices name to per user for private tenant?

```auto
.kibana_<hash>_<username>

```

Of course i can use username to ditinguish but, if there is duplicated username exists it has some problem.

---

<div class="post-metadata">

**Author:** ![Anthony](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/anthony/32/9939_2.png) [@Anthony](https://forum.opensearch.org/u/Anthony)\
**Post date:** [April 29, 2021, 3:11pm UTC](https://forum.opensearch.org/t/is-there-any-api-or-some-solution-for-mapped-kibana-indices-name-to-per-user-for-private-tenant/3604/2 "2021-04-29T15:11:50Z")

</div>

@jyl can you elaborate please on what you are trying to achieve?  
The usernames are unique, therefore the hash would be unique too.  
You can use jhashcode to get the hash for username with [this](https://github.com/neuront/pyjhashcode)
