# Allocate time field to a different field

**URL:** <https://discuss.elastic.co/t/allocate-time-field-to-a-different-field/178189>\
**Category:** Logstash\
**Created:** [April 24, 2019, 8:39am UTC](https://discuss.elastic.co/t/allocate-time-field-to-a-different-field/178189 "2019-04-24T08:39:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [April 24, 2019, 8:39am UTC](https://discuss.elastic.co/t/allocate-time-field-to-a-different-field/178189/1 "2019-04-24T08:39:54Z")

</div>

In Logstash config file i renamed received to a completely new field i.e created  
where the format of received field is eg 2019-04-23 13:35:46  
received is IST format and my kibana is UTC format  
rename =\> ["received", "created"]  
and  
in date plugin in logstash i applied  
date {  
match =\> ["created", "yyyy-MM-dd HH:mm:ss"]  
timezone =\> "UTC"  
target =\> "@timestamp"  
}

Than the query would run in IST or UTC format for created field?  
2. IF I change my kibana timezone than created field time is also getting changed  
3. Can someone suggest me whether I am right or wrong

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 24, 2019, 1:33pm UTC](https://discuss.elastic.co/t/allocate-time-field-to-a-different-field/178189/2 "2019-04-24T13:33:25Z")

</div>

elasticsearch always stores dates in UTC. By default, Kibana will display dates in the browser's time zone, but this can be changed in the [advanced settings](https://www.elastic.co/guide/en/kibana/current/advanced-options.html) page using dateFormat:tz.

---

<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:** [May 22, 2019, 1:33pm UTC](https://discuss.elastic.co/t/allocate-time-field-to-a-different-field/178189/3 "2019-05-22T13:33:26Z")

</div>

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