This SQL will also give you the data source, user and query type:
select row_number() over (order by LogEntryId) as Id, LogEntryId, r.Name AS Report_Name, r.Path AS Report_Path, c2.Name AS Data_Source, replace(c2.ConnectString,';Unicode=True','') as ConnectString, SUBSTRING(r.Path, 2, LEN(r.Path) - LEN(r.Name) - 2) AS Folder_Path, ex.UserName, ex.Format, ex.TimeProcessing, ex.TimeRendering, ex.[RowCount], CAST (ex.TimeStart as date) AS TimeStart, DATEPART (hour, ex.TimeStart) AS StartHour, DATEPART (minute, ex.TimeStart) AS StartMinute, case when ex.RequestType = 0 then 'Interactive' when ex.RequestType = 1 then 'Subscription' when ex.RequestType = 2 then 'Refresh Cache' else 'Unknown' end RequestType, u.UserName as CreatedBy, ex.Status from ExecutionLogStorage ex (nolock)
Igor Krupitsky Apr 07 '17 at 16:20 2017-04-07 16:20
source share