Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch : 2.15V
Dashboard : 2.15V
Server OS: ubuntu
Browser: firefox
Describe the issue:
i am try to get log in message in alert
this is my log below
MessageTemplate
new error6
@timestamp
2024-07-17 12:41:43.191
TraceId
bec77c1b2861b28056730fa4d6d627b0
Level
Error
flb-key
kube.custommvc.app.log.naman.namanlog.log
Timestamp
2024-07-17 12:41:43.085283
SpanId
a3ea7fe795215bb3
this message in this are field MessageTemplate message i want to show in my mail
Configuration:
triggered in action in try to used this
1)Per document monitor
2)Visual editor
3)custommvc this is my index name
Monitor {{ctx.monitor.name}} just entered alert status. Please investigate the issue.
- Trigger: {{ctx.trigger.name}}
- Severity: {{ctx.trigger.severity}}
- Period start: {{ctx.periodStart}}
- Period end: {{ctx.periodEnd}}
- MessageTemplate: {{#ctx.results.0.hits.hits}}
{{_source.MessageTemplate}}
{{/ctx.results.0.hits.hits}}
this is not working help me solved this problem