Hi Team,
can we check the log file located for the kind of service - If the log with the current date (for example today is 2018-05-21_info.log) is not updated in few minutes - i need an alert. is it possible in using SAM template?
Thanks
Phani
Hi phani,
I would say no, it's not possible with just a SAM template (unless someone else can recommend such ).
Just so you have the information, here's the SAM Template Reference guide.
I've accomplished what you're asking by using PowerShell, it's set to automatically run whenever the folder I want monitored to send an alert to a group of users after a specific file has been within it for a set time.
Depending on your requirements and what you are aiming to achieve will depend whether using PowerShell is convenient and a possible solution or whether you go another way.
-Midnight