Specify timezone when trigger watchers

Hi there,

I am using watcher to aggregate data, our elasticsearch instance is using utc time zone.

Is it possible to specify the time based on timezone, the reason I am asking it because that there are day light saving and the time it trigger really matters.

For example, I want to a watcher to run at 12PM US/EAST time, for now, it is 17 UTC, but when the day light saving is done, 17 UTC becomes 13 US/EAST, and I want the watcher to run at 12 US/EAST time all the time.

Is there a feature to specify the timezone when schedule a watcher job without changing the timezone of the elasticsearch instance? If not, is there a plan to add such feature?

Thanks in advance

You should try to look for crontab exection

"trigger": {
    "schedule": {
      "cron": "* * * * * ?"
    }

Advanced cron can maybe solve it, i dont know much about timezones on Kibana

Thanks for your reply.
There are several things which can do the trigger besides crontab, I am not looking for how to trigger the job, I am looking for if there is any feature which supports specifying timezone?

An enhancement PR now appears to provide timezone functionality to triggers in watcher in a future release.

This should then handle daylight savings changes automatically.

Issue: Add Timezone Configuration to Watcher · Issue #34659 · elastic/elasticsearch · GitHub
PR: (#34659) - Add Timezone Configuration to Watcher by lukewhiting · Pull Request #117033 · elastic/elasticsearch · GitHub
8.x Backport PR: [8.x] (#34659) - Add Timezone Configuration to Watcher (#117033) by lukewhiting · Pull Request #117456 · elastic/elasticsearch · GitHub

eg. for versions that will support this enhancement:

"trigger" : {
  "schedule" : {
    "timezone": "Pacific/Auckland",
    "daily" : { "at" : "12:00" }
  }
}