question

Nowtside-5323 avatar image
0 Votes"
Nowtside-5323 asked JennyYan-MSFT answered

Is there any way to run a script whenever a certain program isn't sending logs.

As part of our security requirements this program needs to always be sending logs. Im looking for a way to automatically warn users when logs are not being recieved from the program. Is there any way to do this?

windows-10-security
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JennyYan-MSFT avatar image
0 Votes"
JennyYan-MSFT answered

Hi,

Thanks for reaching the Q&A forum but kindly note that our forum doesn’t support script creation at this moment but only provide some suggestions or examples when similar scenarios met.

Per searching, we could enable message warning via task scheduler when dedicated event logs has been recorded with detailed step shared in below two links:
https://clusteringformeremortals.com/2018/10/29/step-by-step-how-to-trigger-an-email-alert-when-a-windows-service-starts-or-stops-on-windows-server-2016/

https://clusteringformeremortals.com/2018/10/28/step-by-step-how-to-trigger-an-email-alert-from-a-windows-event-that-includes-the-event-details-using-windows-server-2016/

Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

Thus in our case, there is one more thing that needs to be confirmed, is there any event log will be recorded when the problem stopped to sending logs?

If there is, then you may check above suggestion and steps to set up the email warning message.
 


Hope this helps and please help to accept as Answer if the response is useful.

Thanks,
Jenny

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.