Monitoring Windows Service

Hi Guys,

I have monitoring a windows service, however, I would like to send a notification when the service is stopped, I have tried to set up it and I have had no success.

I installed the Elastic Agent and heartbeat

I have tried the configuration in the image I attached for.


Could you help me?