Hi,
How do I store the value from the trigger condition so I can use it in the action section. For example
My trigger condition:
ctx.results[0].hits.total.value/100 > 0
Action Message:
Monitor {{ctx.monitor.name}} just entered alert status. Please investigate the issue.
- Trigger: {{ctx.trigger.name}}
- Severity: {{ctx.trigger.severity}}
- Count: {{ctx.results.0.hits.total.value}}
- Count Ratio: {{ctx.results.0.hits.total.value/100}}
Preview:
Monitor test just entered alert status. Please investigate the issue.
- Trigger: test
- Severity: 1
- Count: 982
- Count Ratio:
I would like to get the value of “ctx.results.0.hits.total.value/100” in the message.