Hi…
Would it be possible to have a template for the HTTP Notification, like the email template ?
(https://docs.graylog.org/en/3.3/pages/alerts.html)
It would be perfect if that that was possible.
It would make it sooo much more flexible…
It is more difficult to do the translation on the receiving side…
Something like:
URL: https://myserver.com{:port}/path/token/blah
Method: POST|GET|UPDATE|…
Custom Headers: …
Templare:
<EVENT>
<TITLE>${event_definition_title}</TITLE>
<Description>${event_definition_description}</Description>
<EVENTTYPE>${event_definition_type}</EVENTTYPE>
<Fields>
${foreach event.fields field} <FIELD>${field.key}</FIELD> <VALUE>${field.value}</VALUE>
${end}
</Fields>
...
${foreach backlog message}
<MESSAGE>${message}<MESSAGE>
${end}
</MESSAGES>
${end}
</EVENT>
That would be awesome.
Thanks
JR