Creating Notification when System Logs have an error

reich
Giga Contributor

Hi All

I am trying to set up a notification when there is a particular error in the system logs. I tried to dot walk the conditions based on the trigger we want, using worfklow but it doesnt work or it wont trigger the workflow.

I also tried to do an Email Notification based on the Table (syslog) with the same condition and again no email.

Am i doing something wrong? any help will be appreciated...Screen Shot 2018-01-24 at 12.06.06 PM.pngScreen Shot 2018-01-24 at 12.06.13 PM.png

7 REPLIES 7

Ok. Great.



Can you now manually create a log in system log table and check if the email triggers



Please mark this response as correct or helpful if it assisted you with your question.

I think, it will work when you will try to manually create a log entry but not when system insert a log entry. I was trying but couldn't able to trigger an email.



Looking into the code it seems you want to have a error handling when we get failure web response. Not very sure, but was thinking if we can have a async BR on ecc_queue table to check if there is any entry for that particular Agent/Source and then read the text from the payload.



If it meets with the required conditional text then trigger an event to fire the notification.


The other option is to write a scheduler which you can schedule everyday, to give you a report of all failures.


Build a Report on System log and schedule the report.



Please mark this response as correct or helpful if it assisted you with your question.