I can get the hostname from the syslog entry, but I can’t for the life of me add the hostname to the URL in a custom HTTP Notification.
I’ve tried ${message.cli_hostname} (cli_hostname) is the field in the message.
Tried ${source.cli_hostname}
I also tried creating a field in the Event configuration named CLI_Hostname and tried extracting those two fields. Nothing worked. Oxidized see’s the literal text, instead of the hostname.
your custom fields in the event need to be read from the message using the format ${source.field_name}, then to use that in a notification you need to use the format ${event.fields.custom_field_name}