‎05-24-2018 10:42 PM
‎05-29-2018 04:11 PM
‎05-28-2018 04:39 PM
Select Top 1000000 tblAssets.AssetName,
Count(tblNtlog.EventlogID) As NumberOfEvents,
tblNtlog.Eventcode
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblNtlog On tblAssets.AssetID = tblNtlog.AssetID
Inner Join tblNtlogMessage On tblNtlogMessage.MessageID = tblNtlog.MessageID
Inner Join tblNtlogSource On tblNtlogSource.SourcenameID =
tblNtlog.SourcenameID
Where tblAssets.Lastseen > GetDate() - 7 And tblAssetCustom.State = 1
Group By tblAssets.AssetName,
tblNtlog.Eventcode
Having tblNtlog.Eventcode = 4625
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now