# Self-name index?

**URL:** <https://discuss.elastic.co/t/self-name-index/59248>\
**Category:** Logstash\
**Created:** [August 29, 2016, 10:52pm UTC](https://discuss.elastic.co/t/self-name-index/59248 "2016-08-29T22:52:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allie\_Yang1](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Allie\_Yang1](https://discuss.elastic.co/u/Allie_Yang1)\
**Post date:** [August 29, 2016, 10:52pm UTC](https://discuss.elastic.co/t/self-name-index/59248/1 "2016-08-29T22:52:35Z")

</div>

Hi Currently my index are named by date (from @timestamp i suspect). How can i self-name them so that i can only analyze certain portion of yesterday's parsed data (not searchable from ES UI)? In another word, how can i group the data i intend to use in one index?

My current index:  
Indices  
.kibana  
.marvel-es-1-2016.08.23  
.marvel-es-1-2016.08.24  
.marvel-es-1-2016.08.25  
.marvel-es-1-2016.08.26  
.marvel-es-1-2016.08.27  
.marvel-es-1-2016.08.29  
.marvel-es-data-1  
data  
logstash-2015.02.01  
logstash-2015.12.31  
logstash-2016.01.01  
logstash-2016.02.01  
logstash-2016.03.01  
logstash-2016.08.23  
logstash-2016.08.24  
logstash-2016.08.25  
logstash-2016.08.26  
logstash-2016.08.29  
my\_index

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [August 29, 2016, 11:05pm UTC](https://discuss.elastic.co/t/self-name-index/59248/2 "2016-08-29T23:05:49Z")

</div>

That depends on how you put the indexes into Elasticsearch. If you are doing so using Logstash I suspect you'll have to reconfigure that.

---

<div class="post-metadata">

**Author:** ![Allie\_Yang1](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Allie\_Yang1](https://discuss.elastic.co/u/Allie_Yang1)\
**Post date:** [August 29, 2016, 11:12pm UTC](https://discuss.elastic.co/t/self-name-index/59248/3 "2016-08-29T23:12:00Z")

</div>

Hi Yes i use logstash. Where should i reconfigure? in conf file?

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [August 29, 2016, 11:41pm UTC](https://discuss.elastic.co/t/self-name-index/59248/4 "2016-08-29T23:41:03Z")

</div>

Yes. I expect you'll have more luck asking o. The logstash forum. Sorry I  
couldn't be of more help!

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [August 30, 2016, 1:19pm UTC](https://discuss.elastic.co/t/self-name-index/59248/5 "2016-08-30T13:19:51Z")

</div>

Hi Allie,

I moved this to the Logstash forum

Best of luck getting it all working!

Alex

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 2, 2016, 5:50am UTC](https://discuss.elastic.co/t/self-name-index/59248/6 "2016-09-02T05:50:53Z")

</div>

Modify your elasticsearch output's `index` option to contain the desired index name.

---

<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:** [September 5, 2016, 5:51am UTC](https://discuss.elastic.co/t/self-name-index/59248/7 "2016-09-05T05:51:12Z")

</div>

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