i created LA query to trigger alert when the windows installer service stops and it works fine. What i am trying to add a condition to this query is, alert should not be duplicated if there is an alert already active. is there a way to add the condition to suppress duplicate alert until the existing alert is closed?
I tried with Alert management query but the alert state is shows empty.
I do not think there is possibility for that. There is option for suppression configuration on Log Analytics alerts but that one does not work per instance. For example if you receive alert for Computer A and after 5 minutes another alert to be generated for Computer B the latter will be suppressed.