# Watcher default timezone

**URL:** <https://discuss.elastic.co/t/watcher-default-timezone/84610>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [May 4, 2017, 6:26pm UTC](https://discuss.elastic.co/t/watcher-default-timezone/84610 "2017-05-04T18:26:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [May 4, 2017, 6:26pm UTC](https://discuss.elastic.co/t/watcher-default-timezone/84610/1 "2017-05-04T18:26:54Z")

</div>

Hi Team,  
How to configure default timezone for watcher?

My ELK stack is in PDT, i am writing watcher alerts and found that query condition (now,now-15m) are failing. Then i noticed, all ctx timestamp values are in UTC, e.g.:

triggered\_time  
scheduled\_time  
execution\_time

Thanks & Regards,

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [May 15, 2017, 9:04pm UTC](https://discuss.elastic.co/t/watcher-default-timezone/84610/2 "2017-05-15T21:04:51Z")

</div>

Hey,

all times are UTC by default, so should all the data you are indexing in order to ensure that the mentioned queries work. Can you explain are concrete issue with this maybe?

--Alex

---

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [May 16, 2017, 5:18pm UTC](https://discuss.elastic.co/t/watcher-default-timezone/84610/3 "2017-05-16T17:18:48Z")

</div>

Thank Alex.

It was for watcher actions, in payload i was getting all time fields in UTC.

Thanks & Regards,

---

<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:** [June 13, 2017, 5:18pm UTC](https://discuss.elastic.co/t/watcher-default-timezone/84610/4 "2017-06-13T17:18:51Z")

</div>

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