Print Current date time in kibana watcher webhook body

Hi
i have alert and i want to print current time/watcher trigger time in webhook body of a kibana watcher?
i have tried to add ctx.trigger.scheduled_time or ctx.trigger.current_time but nothing appear!

Hi @Nord,

Have you wrapped it in {{ }} ?
Also try triggered_time:


{{ctx.trigger.scheduled_time}}
{{ctx.trigger.triggered_time}}

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