Hello,
we are trying to build 2 reports with the following outputs:
- All login instances
- All visited paths by user
can someone please advise what are the best database tables to look to this information?
Thank you.
Hello,
we are trying to build 2 reports with the following outputs:
can someone please advise what are the best database tables to look to this information?
Thank you.
Logins can be found in GeneralLog:
SELECT TOP (10) [LogID]
,[LogAction]
,[LogDescription]
,[LogUsername]
,[LogDate]
,[LogFilePath]
,[LogLevel]
,[UserId]
,[UtcOffset]
,[Exception]
,[MachineName]
,[Category]
,[Url]
FROM [dw9].[dbo].[GeneralLog]
where LogAction = 'Authentication' and UserId = 1
Their visits can be found in either Statv2Session or in TrackingSession and TrackingView tables depending on if you use the old or new statistics.
Also you can access these information on the user in the backend:
Hi Nicolai,
Thank you for your help
Posting the queries for future reference
Login timestamps per login
Thanks for sharing!
You must be logged in to post in the forum