# Can I change Index "creation\_date"?

**URL:** https://discuss.elastic.co/t/can-i-change-index-creation-date/148911
**Category:** Elasticsearch
**Created:** [September 18, 2018, 4:02am UTC](https://discuss.elastic.co/t/can-i-change-index-creation-date/148911 "2018-09-18T04:02:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![af615dbd55cac2cacf32](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@af615dbd55cac2cacf32](https://discuss.elastic.co/u/af615dbd55cac2cacf32)
#### Post date: [September 18, 2018, 4:02am UTC](https://discuss.elastic.co/t/can-i-change-index-creation-date/148911/1 "2018-09-18T04:02:04Z")

</div>

"index001\_20180918": {  
"state": "open",  
"settings": {  
"index": {  
"routing": {  
"allocation": {  
"require": {  
"box\_type": "hot"  
}  
}  
},  
"number\_of\_shards": "1",  
"provided\_name": "index001\_20180918",  
"creation\_date": "1537232141670",  
"number\_of\_replicas": "0",  
"uuid": "k\_gPxxk6Sq-mp19GSUubOA",  
"version": {  
"created": "6000099"  
}  
}

Based on "creation\_date" info, the index was created on "09/18/2018 AM12:55:41.670" (UTC) which seems ok, but my system is located in South Korea which uses "Asia/Seoul" timezone (UTC+9hours).

How can i change "creation\_date" timezone so the index will be created +9hours later than the current?

FIY, currently the index creates at 9am instead of 12am, but i need to move the index from hot to warm node at 1am everyday.

Please advise.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 18, 2018, 4:04am UTC](https://discuss.elastic.co/t/can-i-change-index-creation-date/148911/2 "2018-09-18T04:04:58Z")

</div>

Elasticsearch stores everything in UTC, so you cannot change that.

> [@af615dbd55cac2cacf32](#):
>
> How can i change "creation\_date" timezone so the index will be created +9hours later than the current?

That's the time that something asked Elasticsearch to create the index, Elasticsearch didn't just create one itself.

---

<div class="post-metadata">

### Author: ![af615dbd55cac2cacf32](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@af615dbd55cac2cacf32](https://discuss.elastic.co/u/af615dbd55cac2cacf32)
#### Post date: [September 18, 2018, 4:49am UTC](https://discuss.elastic.co/t/can-i-change-index-creation-date/148911/3 "2018-09-18T04:49:18Z")

</div>

[from my Logstash]  
...  
output {  
elasticsearch {  
hosts =\> ["els-01:9200","els-02:9200"]  
index =\> "index001\_{+YYYYMMdd}"  
}  
}

Yes, Logstash output set as elasticsearch to create indices with YYYYMMdd format. Should i change "@timestamp" timezone then???

Thank you!

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 18, 2018, 5:05am UTC](https://discuss.elastic.co/t/can-i-change-index-creation-date/148911/4 "2018-09-18T05:05:20Z")

</div>

Definitely.

---

<div class="post-metadata">

### Author: ![af615dbd55cac2cacf32](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@af615dbd55cac2cacf32](https://discuss.elastic.co/u/af615dbd55cac2cacf32)
#### Post date: [September 18, 2018, 6:01am UTC](https://discuss.elastic.co/t/can-i-change-index-creation-date/148911/5 "2018-09-18T06:01:53Z")

</div>

Thank you for all your quick replies! 🙂

---

<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: [October 16, 2018, 6:02am UTC](https://discuss.elastic.co/t/can-i-change-index-creation-date/148911/6 "2018-10-16T06:02:08Z")

</div>

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