Can anyone help me here…I can’t seem to find the documentation for this (sorry if it is out there), but I’m trying to format a local discord/webhook notification with parameters and it’s not working. Can’t for the life of me figure it out. this is my formatted message
{ Error Alert: The monitor ‘{{sieve.name}}’ encountered an error URL: {{sieve.uri}} Monitor ID: {{sieve.id}} Time: {{sieve_data.ts}}}
the first step to troubleshoot an alert or error action is to check the job log at Distill Web Monitor. can you check these and let me know what you see?
are the error actions listed?
are they successful or have errored out?
did the discord channel receive any message for the successful ones?
sieve_data is only available in case of a change. when an error occurs, there is no new sieve_data recorded. you can use {{work.ts}} for getting the timestamp at which the last error was logged.
can you should remove the outer curly brackets unless you need for a specific purpose.
looking at the logs it wasn’t sending webhooks after error action but it is after removing the outer braces. i also only updated the work.ts but the sieve.name and sieve.id are returning data now.