Seq.App.EmailPlus + Source.ContributingEvents #1755
-
How can I display the message property of an event in my email body using Seq.AppEmailPlus + Source.ContributingEvents in an Alert? I'm a little lost with Handlebars, even after reviewing the default template on GitHub (which I used verbatim, and can see is able to display the property). I know this is the section that is outputs Source as one of the properties:
but is there some way to do {{Source.ContributingEvents[0].Message}} to just get the first event message? The Alert documentation wasn't very clear on this... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi John! I think Handlebars uses plain
The Let me know if this does the job for you! Nick |
Beta Was this translation helpful? Give feedback.
-
That got me on the right track, looks like it actually uses
and since |
Beta Was this translation helpful? Give feedback.
That got me on the right track, looks like it actually uses
.
and[]
together:{{Source.ContributingEvents.[1].[2]}}
and since
.[0]
are the column names, I needed to start at.[1]
to get the data, but it works as expected.