Kibana Watcher Current Date in e-mail subject


I need to have current date in subject in e-mail sent by Elastic Watcher at the moment I have code like below:

"subject": " {{ctx.trigger.scheduled_time}}Exposure Report is available"

and the Result is image

which is not correct because my time zone is +2h to this from screenshoot.
I would like to know if there is possiblity to somehow format date in {{ctx.trigger.scheduled_time}}? Or maybe just take date with only YYYY-mm-dd this option is also acceptable for me, but prefered format is YYYY-mm-DD HH:mm and my time zone in Europe/Warsaw.


You can create an "advance watch" and use context transform to format date

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