# Dynamic .kibana index name

**URL:** <https://discuss.elastic.co/t/dynamic-kibana-index-name/73862>\
**Category:** Kibana\
**Created:** [February 3, 2017, 1:48pm UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862 "2017-02-03T13:48:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![faxm0dem](https://avatars.discourse-cdn.com/v4/letter/f/c77e96/32.png) [@faxm0dem](https://discuss.elastic.co/u/faxm0dem)\
**Post date:** [February 3, 2017, 1:48pm UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/1 "2017-02-03T13:48:51Z")

</div>

Hi,

We would like to have personal `.kibana` indices per user (and per group).  
We used to achieve this using a patched version of kibana that will use a HTTP header instead of the fixed `.kibana` name. Obviously, it's hard to keep up with the fast pace at which the codebase is evolving, and we'd like to have this upstream.

My question is: will you accept a pull-request with configurable kibana-index-name?

More specifically, would you prefer it to be a:

- HTTP header
- query parameter

?

**UPDATE** : There is now a [Search Guard 5](https://github.com/floragunncom/search-guard-module-kibana-multitenancy) solution to this \o/

---

<div class="post-metadata">

**Author:** ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)\
**Post date:** [February 3, 2017, 2:00pm UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/2 "2017-02-03T14:00:54Z")

</div>

You can [customize the index name](https://www.elastic.co/guide/en/kibana/4.5/kibana-server-properties.html) in kibana.yml config file. Would this be sufficient for your use case?

> kibana.index:

> Default: ".kibana" Kibana uses an index in Elasticsearch to store saved searches, visualizations and` dashboards. Kibana creates a new index if the index doesn’t already exist.

---

<div class="post-metadata">

**Author:** ![faxm0dem](https://avatars.discourse-cdn.com/v4/letter/f/c77e96/32.png) [@faxm0dem](https://discuss.elastic.co/u/faxm0dem)\
**Post date:** [February 7, 2017, 4:52pm UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/3 "2017-02-07T16:52:50Z")

</div>

Hi Stacey,

No, this is not sufficient for our use-case: it would require one instance of kibana per user, which is insane (we have 5000 users) 🙂

---

<div class="post-metadata">

**Author:** ![whoami](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@whoami](https://discuss.elastic.co/u/whoami)\
**Post date:** [February 8, 2017, 9:29am UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/4 "2017-02-08T09:29:04Z")

</div>

I also need for this feature

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [February 8, 2017, 9:59am UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/5 "2017-02-08T09:59:18Z")

</div>

for things like this i suggest to use github. if you already have a code ready submit a pull request and discussion will start around that. else create an issue.

in both cases don't forget to describe well what your use case is, why is this so critical to you and why we want it in the main code base (so it should be something others will be able to use as well.)

---

<div class="post-metadata">

**Author:** ![faxm0dem](https://avatars.discourse-cdn.com/v4/letter/f/c77e96/32.png) [@faxm0dem](https://discuss.elastic.co/u/faxm0dem)\
**Post date:** [February 8, 2017, 10:10am UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/6 "2017-02-08T10:10:30Z")

</div>

Thanks, I was considering github, but there's so many issues/PRs that I preferred to validate my use case first. If you believe it's something other people might be interested in, I will give it a shot.

PS: we already have a working patch for kibana4 that uses a HTTP header as kibana index name

---

<div class="post-metadata">

**Author:** ![kenrestivo-stem](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@kenrestivo-stem](https://discuss.elastic.co/u/kenrestivo-stem)\
**Post date:** [February 10, 2017, 7:37pm UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/7 "2017-02-10T19:37:58Z")

</div>

+1 we would love this.

Right now we're playing around with [https://github.com/wtakase/kibana-own-home](https://github.com/wtakase/kibana-own-home) but it seems like a hack. Would be better to have this functionality integrated into the code.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 10, 2017, 7:38pm UTC](https://discuss.elastic.co/t/dynamic-kibana-index-name/73862/8 "2017-03-10T19:38:04Z")

</div>

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