# Dinamically change the default index-pattern

**URL:** <https://discuss.elastic.co/t/dinamically-change-the-default-index-pattern/82257>\
**Category:** Kibana\
**Created:** [April 13, 2017, 8:19am UTC](https://discuss.elastic.co/t/dinamically-change-the-default-index-pattern/82257 "2017-04-13T08:19:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccrecana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ccrecana/32/17142_2.png) [@ccrecana](https://discuss.elastic.co/u/ccrecana)\
**Post date:** [April 13, 2017, 8:19am UTC](https://discuss.elastic.co/t/dinamically-change-the-default-index-pattern/82257/1 "2017-04-13T08:19:57Z")

</div>

I would like to have multiple default index-pattern for multiple users. I use the same .kibana index for all the users. By now i managed to reroute and change the requests from a plugin but I don't know how the default index-pattern is sent to the client side. It is possible to intercept and change the default index-pattern from a plugin and to ignore the value from ./kibana/config?

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [April 13, 2017, 2:18pm UTC](https://discuss.elastic.co/t/dinamically-change-the-default-index-pattern/82257/2 "2017-04-13T14:18:29Z")

</div>

hi @ccrecana,

The configuration of the default index pattern is also in the Kibana-server (ie. the middle-ware between the Kibana frontend and Elasticsearch), which loads the configuration. So the intercepting you describe, I don't really see that work in a simple way.

This sounds more like a new feature request. Could you log it here, [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new), and add a description of your use-case?

thx.

---

<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:** [May 11, 2017, 2:20pm UTC](https://discuss.elastic.co/t/dinamically-change-the-default-index-pattern/82257/3 "2017-05-11T14:20:39Z")

</div>

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