→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎04-16-2014 12:42 AM
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.IPAddress,
tsysOS.OSname,
tblAssets.SP,
tblNtlog.Eventcode,
Case tblNtlog.Eventtype When 1 Then 'Error' When 2 Then 'Warning'
When 3 Then 'Information' When 4 Then 'Success Audit'
When 5 Then 'Failure Audit' End As Eventtype,
tblNtlogFile.Logfile,
tblNtlogMessage.Message,
tblNtlogSource.Sourcename,
tblNtlogUser.Loguser,
tblNtlog.TimeGenerated
From tblAssets
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblNtlog On tblAssets.AssetID = tblNtlog.AssetID
Inner Join tblNtlogFile On tblNtlogFile.LogfileID = tblNtlog.LogfileID
Inner Join tblNtlogMessage On tblNtlogMessage.MessageID = tblNtlog.MessageID
Inner Join tblNtlogSource On tblNtlogSource.SourcenameID =
tblNtlog.SourcenameID
Inner Join tblNtlogUser On tblNtlogUser.LoguserID = tblNtlog.LoguserID
Where tblNtlog.Eventcode = '10016' And tblNtlog.TimeGenerated > GetDate() - 45
Order By tblNtlog.TimeGenerated Desc
Solved! Go to Solution.
‎04-18-2014 03:20 PM
‎11-17-2014 05:12 PM
‎11-18-2014 10:25 AM
smaher wrote:
Hello,
I'm having trouble creating this report. When I save & run I get the error:
There was an error parsing the query. [Token line number = 1, Token line offset = 453, Token in error - last time occurred]
Would you have any suggestion to help fix this issues?
Thanks
‎05-16-2014 07:11 PM
‎04-18-2014 03:20 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now