# Index settings creation date

**URL:** https://discuss.elastic.co/t/index-settings-creation-date/109380
**Category:** Elasticsearch
**Created:** [November 28, 2017, 12:16pm UTC](https://discuss.elastic.co/t/index-settings-creation-date/109380 "2017-11-28T12:16:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![EloaCardoso](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@EloaCardoso](https://discuss.elastic.co/u/EloaCardoso)
#### Post date: [November 28, 2017, 12:16pm UTC](https://discuss.elastic.co/t/index-settings-creation-date/109380/1 "2017-11-28T12:16:13Z")

</div>

I would like to know if there is a way to use query to get the creation\_date value of an index? I really need to use query and not just: GET /\_all/\_settings/index.creation\_date

---

<div class="post-metadata">

### Author: ![ParitoshBh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paritoshbh/32/22487_2.png) [@ParitoshBh](https://discuss.elastic.co/u/ParitoshBh)
#### Post date: [November 28, 2017, 2:38pm UTC](https://discuss.elastic.co/t/index-settings-creation-date/109380/2 "2017-11-28T14:38:24Z")

</div>

I am guessing you are interested in getting the creation date of a specific index, if that's the case, following should be useful

```auto
curl -XGET 'localhost:9200/_cat/indices/INDEX_NAME?h=creation.date,index'

```

To see all available options use,

```auto
curl -XGET 'localhost:9200/_cat/indices?help'

```

---

<div class="post-metadata">

### Author: ![EloaCardoso](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@EloaCardoso](https://discuss.elastic.co/u/EloaCardoso)
#### Post date: [November 30, 2017, 8:05am UTC](https://discuss.elastic.co/t/index-settings-creation-date/109380/3 "2017-11-30T08:05:48Z")

</div>

Thank you ParitoshBh! But I actually need to know how to get the creation\_date with the use of QUERY. So, a search operation with the REST API.  
I was thinking to use Curator if this is the only option and if this really works.  
I am using watcher to know when an index was created or deleted. Does anyone have an idea how to get this date?

---

<div class="post-metadata">

### Author: ![ParitoshBh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paritoshbh/32/22487_2.png) [@ParitoshBh](https://discuss.elastic.co/u/ParitoshBh)
#### Post date: [November 30, 2017, 1:11pm UTC](https://discuss.elastic.co/t/index-settings-creation-date/109380/4 "2017-11-30T13:11:46Z")

</div>

This might be of some help - [Searching Indexes based on Index Creation date](https://discuss.elastic.co/t/searching-indexes-based-on-index-creation-date/52684) 🙂

---

<div class="post-metadata">

### Author: ![EloaCardoso](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@EloaCardoso](https://discuss.elastic.co/u/EloaCardoso)
#### Post date: [December 5, 2017, 8:28am UTC](https://discuss.elastic.co/t/index-settings-creation-date/109380/5 "2017-12-05T08:28:53Z")

</div>

Hi ParitoshBh! I have seen this. But it didn't help. Thanks!

---

<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: [January 2, 2018, 8:28am UTC](https://discuss.elastic.co/t/index-settings-creation-date/109380/6 "2018-01-02T08:28:57Z")

</div>

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