Hello,
Would anyone help me with a query where we can find the all state change information of an alert. The below query I am using will give the last state change not all state change happening.
Any help is appreciated.
SELECTAlertStringName, MonitoringObjectDisplayName, MonitoringObjectPath, ResolutionState,
Priority,Severity, ResolvedBy,TimeRaised,TimeAdded, LastModifiedBy,LastModified,TimeResolved, TimeResolutionStateLastModified
FROMAlertviewWITH (NOLOCK)
WHERETimeRaisedis notNULLand TimeRaised>getdate()-1 orderbyTimeRaiseddesc
Thanks,
Binoy