# Is multi-tanency possible in Elastic Search

**URL:** <https://discuss.elastic.co/t/is-multi-tanency-possible-in-elastic-search/15241>\
**Category:** Elasticsearch\
**Created:** [January 15, 2014, 7:21am UTC](https://discuss.elastic.co/t/is-multi-tanency-possible-in-elastic-search/15241 "2014-01-15T07:21:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prasad\_Lele](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@Prasad\_Lele](https://discuss.elastic.co/u/Prasad_Lele)\
**Post date:** [January 15, 2014, 7:21am UTC](https://discuss.elastic.co/t/is-multi-tanency-possible-in-elastic-search/15241/1 "2014-01-15T07:21:43Z")

</div>

Hi,

We are planning to implement elasticsearch along with logstash. However the  
kind of requirement we have, we want that each customer has his own login  
and should be able to view only his data. Also for administration purpose  
would like to have user's role based access control.

Can anyone let me know if this is possible? OR if there is any other way to  
do it.

Warn Regards  
Prasad

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b58c1e45-265a-442e-83a8-be4dfc4e6f86%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b58c1e45-265a-442e-83a8-be4dfc4e6f86%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [January 15, 2014, 2:37pm UTC](https://discuss.elastic.co/t/is-multi-tanency-possible-in-elastic-search/15241/2 "2014-01-15T14:37:45Z")

</div>

Hi,

Elasticsearch supports having several indices stored into the same cluster.  
These indices can even have different number of shards/replicas. However,  
having large numbers of indices can trigger issues as well, I recommend  
that you watch  
[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/videos/big-data-search-and-analytics/) to see  
the different strategies that can be used to solve your problem (your  
specific use-case is described starting at 13:30 but you should still watch  
the beginning which explains the issue of having too many shards or  
indices).

Regarding access control, Elasticsearch doesn't support it so this must be  
handled by an additional layer on top of Elasticsearch.

On Wed, Jan 15, 2014 at 8:21 AM, Prasad Lele [prasad.lele85@gmail.com](mailto:prasad.lele85@gmail.com)wrote:

> Hi,
> 
> We are planning to implement elasticsearch along with logstash. However  
> the kind of requirement we have, we want that each customer has his own  
> login and should be able to view only his data. Also for administration  
> purpose would like to have user's role based access control.
> 
> Can anyone let me know if this is possible? OR if there is any other way  
> to do it.
> 
> Warn Regards  
> Prasad
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b58c1e45-265a-442e-83a8-be4dfc4e6f86%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b58c1e45-265a-442e-83a8-be4dfc4e6f86%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Adrien Grand

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4JZW1zqkpqUmBrVsMSuN2oDZGA7X%2BxarbfJXaG0OROFg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4JZW1zqkpqUmBrVsMSuN2oDZGA7X%2BxarbfJXaG0OROFg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Prasad\_Lele](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@Prasad\_Lele](https://discuss.elastic.co/u/Prasad_Lele)\
**Post date:** [January 16, 2014, 6:10am UTC](https://discuss.elastic.co/t/is-multi-tanency-possible-in-elastic-search/15241/3 "2014-01-16T06:10:23Z")

</div>

Thanks a lot Adrien for the info. That will be helpful.

Regards  
Prasad

On Wed, Jan 15, 2014 at 8:07 PM, Adrien Grand \<  
[adrien.grand@elasticsearch.com](mailto:adrien.grand@elasticsearch.com)\> wrote:

> Hi,
> 
> Elasticsearch supports having several indices stored into the same  
> cluster. These indices can even have different number of shards/replicas.  
> However, having large numbers of indices can trigger issues as well, I  
> recommend that you watch  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/videos/big-data-search-and-analytics/) to see  
> the different strategies that can be used to solve your problem (your  
> specific use-case is described starting at 13:30 but you should still watch  
> the beginning which explains the issue of having too many shards or  
> indices).
> 
> Regarding access control, Elasticsearch doesn't support it so this must be  
> handled by an additional layer on top of Elasticsearch.
> 
> On Wed, Jan 15, 2014 at 8:21 AM, Prasad Lele [prasad.lele85@gmail.com](mailto:prasad.lele85@gmail.com)wrote:
> 
> > Hi,
> > 
> > We are planning to implement elasticsearch along with logstash. However  
> > the kind of requirement we have, we want that each customer has his own  
> > login and should be able to view only his data. Also for administration  
> > purpose would like to have user's role based access control.
> > 
> > Can anyone let me know if this is possible? OR if there is any other way  
> > to do it.
> > 
> > Warn Regards  
> > Prasad
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).
> > 
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/b58c1e45-265a-442e-83a8-be4dfc4e6f86%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b58c1e45-265a-442e-83a8-be4dfc4e6f86%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> Adrien Grand
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/v0y59RHXFOM/unsubscribe](https://groups.google.com/d/topic/elasticsearch/v0y59RHXFOM/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4JZW1zqkpqUmBrVsMSuN2oDZGA7X%2BxarbfJXaG0OROFg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4JZW1zqkpqUmBrVsMSuN2oDZGA7X%2BxarbfJXaG0OROFg%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
धन्यवाद  
प्रसाद लेले

“Before you start some work, always ask yourself three questions - Why am I  
doing it, What the results might be and Will I be successful. Only when you  
think deeply and find satisfactory answers to these questions, go ahead.”"

- Acharya Chanakya

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CA%2BXBWv13U6xEEXutoxZ%3DD4yQt7ckY40F\_7dNWhM6ANnx2RBUMw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2BXBWv13U6xEEXutoxZ%3DD4yQt7ckY40F_7dNWhM6ANnx2RBUMw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:56am UTC](https://discuss.elastic.co/t/is-multi-tanency-possible-in-elastic-search/15241/4 "2017-07-06T01:56:30Z")

</div>


