# How to set @timestamp timezone?

**URL:** https://discuss.elastic.co/t/how-to-set-timestamp-timezone/28401
**Category:** Logstash
**Created:** [September 1, 2015, 4:26am UTC](https://discuss.elastic.co/t/how-to-set-timestamp-timezone/28401 "2015-09-01T04:26:15Z")
**Posts on this page:** 1
**Showing post:** 10

<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 10, 2015, 10:58am UTC](https://discuss.elastic.co/t/how-to-set-timestamp-timezone/28401/10 "2015-09-10T10:58:09Z")

</div>

You probably need to omit the "Z" token in the pattern. Try this:

```
date {
  match => ["timestamp" , "dd/MMM/yyyy:HH:mm:ss +0800"]
  timezone => "UTC"
}

```

If that works, consider removing "+0800" from the pattern _and_ from the `timestamp` field.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-set-timestamp-timezone/28401)._
