# Timezone

**URL:** <https://discuss.elastic.co/t/timezone/52690>\
**Category:** Logstash\
**Created:** [June 14, 2016, 6:49am UTC](https://discuss.elastic.co/t/timezone/52690 "2016-06-14T06:49:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jagan/32/42200_2.png) [@jagan](https://discuss.elastic.co/u/jagan)\
**Post date:** [June 14, 2016, 6:49am UTC](https://discuss.elastic.co/t/timezone/52690/1 "2016-06-14T06:49:07Z")

</div>

Hi Gurus,

Could you please suggest me how to get the timezone on to the '@timestamp' where i have my configuration which work fine but the time zone is not displayed when i run the config file in logstash(actually i am testing the logdate which contains like this: Mon May 30 00:30:26 PDT 2016.  
Here is my config code:  
input { stdin { codec =\> plain } }

filter {  
grok {  
match =\> [  
"message",  
"(?%{MONTH} %{MONTHDAY} %{TIME} %{YEAR})"  
]  
}  
date {  
match =\> ["mytimestamp", "MMM dd HH:mm:ss YYYY"]  
locale =\> "en"  
target =\> "@timestamp"  
timezone =\> "America/Los\_Angeles"  
add\_tag =\> ["tsmatch"]  
}  
}

output { stdout { codec =\> rubydebug } }

The o/p is ![](https://us1.discourse-cdn.com/elastic/original/2X/8/8247e9deb1f79fdf0f0081088fac2f6717375c8c.png)  
Even my code working fine but without Timezone(i.e PDT) here ..  
but my requirement is to get timezone on '@timestamp'..

Great Thanks,  
Jagan

---

<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:** [June 14, 2016, 7:02am UTC](https://discuss.elastic.co/t/timezone/52690/2 "2016-06-14T07:02:18Z")

</div>

The `@timestamp` field is always UTC, which is denoted by the final "Z". See [https://en.wikipedia.org/wiki/ISO\_8601#UTC](https://en.wikipedia.org/wiki/ISO_8601#UTC).

---

<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:53am UTC](https://discuss.elastic.co/t/timezone/52690/3 "2017-07-06T04:53:08Z")

</div>


