# Why I can see my Colleague's Index?

**URL:** <https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064>\
**Category:** Elasticsearch\
**Created:** [June 22, 2015, 9:17am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064 "2015-06-22T09:17:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [June 22, 2015, 9:17am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/1 "2015-06-22T09:17:07Z")

</div>

Hi Experts,

Me and my Colleague we are working on ELK stack on different machine but on same LAN . We both are using default ELK configurations i.e default yml settings . Now what is happening when I start my node and create some index my colleague can also see my created index and the name of my node has been added to his cluster and data replicates on both the machines . I have 2 questions hare ,why this is happening? ,can we stop this as we are in Dev stage and we both are doing R&D on ELK on 2 different machines ?.

Thanks

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 22, 2015, 9:37am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/2 "2015-06-22T09:37:51Z")

</div>

Elasticsearch does multicast by default to discover nodes.  
Cluster name is by default `elasticsearch`. So your nodes probably join and form a cluster.

Change at least the `cluster.name`.

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [June 23, 2015, 5:23am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/3 "2015-06-23T05:23:35Z")

</div>

Thanks David ,

I like the idea and it works ,Actually I changed the multicast setting to False to stop auto discover .

Thank You

---

<div class="post-metadata">

**Author:** ![sriharshakappala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sriharshakappala/32/46272_2.png) [@sriharshakappala](https://discuss.elastic.co/u/sriharshakappala)\
**Post date:** [June 23, 2015, 5:35am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/4 "2015-06-23T05:35:48Z")

</div>

@vikas_gopal When you install elasticsearch it sets the cluster name to `elasticsearch` by default. Elasticsearch discover and joins all the nodes with the same cluster name, there by forming a cluster.

By the way if you don't want to this to happen, you can alter this behaviour by changing the `cluster.name` property in `elasticsearch.yml` file.

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [June 23, 2015, 6:03am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/5 "2015-06-23T06:03:01Z")

</div>

Thank you sriharshakappala

It works for me.

---

<div class="post-metadata">

**Author:** ![mfischer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mfischer/32/3440_2.png) [@mfischer](https://discuss.elastic.co/u/mfischer)\
**Post date:** [June 23, 2015, 8:53am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/6 "2015-06-23T08:53:49Z")

</div>

@vikas_gopal I've researched on the topic for sane local dev-only default settings for ES. It's not specifically targeted for ELK but rather ES, but maybe you will find it useful.

From my `/etc/elasticsearch/elasticsearch.yml`:

```auto
node.local: true
index.number_of_shards: 1
index.number_of_replicas: 0
discovery.zen.ping.multicast.enabled: false

```

I'm not 100% sure everyone all of them are still accurate as of 1.5/1.6, so I may be corrected on the validity please 😄

cheers,

- Markus

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [June 23, 2015, 9:10am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/7 "2015-06-23T09:10:04Z")

</div>

Thank You Markus,

That works for me..cheers!!

---

<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, 12:06am UTC](https://discuss.elastic.co/t/why-i-can-see-my-colleagues-index/24064/8 "2017-07-06T00:06:01Z")

</div>


