# Issue with Re-Indexing

**URL:** <https://discuss.elastic.co/t/issue-with-re-indexing/61598>\
**Category:** Logstash\
**Created:** [September 27, 2016, 11:20am UTC](https://discuss.elastic.co/t/issue-with-re-indexing/61598 "2016-09-27T11:20:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [September 27, 2016, 11:20am UTC](https://discuss.elastic.co/t/issue-with-re-indexing/61598/1 "2016-09-27T11:20:00Z")

</div>

HI,

I have tried Re-Index one of the index. While Re-Indexing, it is taking the data from other indexes as well. Have given the config file below.

```
input
{
  elasticsearch 
	{
		hosts => ["localhost"]
		index => "sanjay"
	}
}

output
{
	elasticsearch 
	{
		hosts => "localhost:9200"
                index => "MDSR"
		document_type => "MDSR"
	}
    stdout
    {
        codec => "json"
    }    
}

```

When I run this config file, it is taking the data from "sanjay\_reddy" index as well.  
Is there anything that I should change?  
Please help me out ☹

Regards,  
Sanjay Reddy M.

---

<div class="post-metadata">

**Author:** ![JoarSvensson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joarsvensson/32/8740_2.png) [@JoarSvensson](https://discuss.elastic.co/u/JoarSvensson)\
**Post date:** [September 29, 2016, 9:51am UTC](https://discuss.elastic.co/t/issue-with-re-indexing/61598/2 "2016-09-29T09:51:22Z")

</div>

Could it be the case that "sanjay" is an Alias rather than an Index ?

---

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [September 29, 2016, 9:56am UTC](https://discuss.elastic.co/t/issue-with-re-indexing/61598/3 "2016-09-29T09:56:20Z")

</div>

Thanks for the reply @JoarSvensson

I haven't used any alisases in my cluster ☹

---

<div class="post-metadata">

**Author:** ![JoarSvensson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joarsvensson/32/8740_2.png) [@JoarSvensson](https://discuss.elastic.co/u/JoarSvensson)\
**Post date:** [September 29, 2016, 10:53am UTC](https://discuss.elastic.co/t/issue-with-re-indexing/61598/4 "2016-09-29T10:53:53Z")

</div>

Alright, please note that the reindex feature in 2.4 is marked as experimental in the docs.

---

<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, 4:36am UTC](https://discuss.elastic.co/t/issue-with-re-indexing/61598/5 "2017-07-06T04:36:26Z")

</div>

Closed on July 6, 2017, 4:36am UTC


