Hi, What is the difference in setting an alert with watcher using context , like this:
"range": {
"@timestamp": {
"gte": "{{ctx.trigger.scheduled_time}}||-30m",
"lte": "{{ctx.trigger.scheduled_time}}"
}
}
and not using context, like this:
"range": {
"@timestamp": {
"gte": "now-30m",
"lt": "now"
}
}
Is one option better than the other? one option has his benefits?
Thanks!