Hi,
Is it possible to fetch run time of each queries in a dashboards from Audit Database.
When I initially run the dashboard I could see 6 entries with different Event Detail value in the AUDIT.
Later when different selection is made and another query is executed that event is not logged in the AUDIT.
Below is the query am using
SELECT
a.session_id,
b.event_id,
a.object_name,
a.user_name,
((a.duration_ms/1000)) as "duration_secs",
d.object_type_name,
a.start_time,
b.event_detail_value
FROM
dbo.ads_event a,
dbo.ADS_EVENT_DETAIL b,
dbo.ads_event_detail_type_str c,
dbo.ads_object_type_str d
WHERE
a.event_id = b.event_id
and b.event_detail_type_id = c.event_detail_type_id
and c.language = 'EN'
and a.object_type_id = d.object_type_id
and d.language = 'EN'
aND
d.Object_Type_name= 'Dashboards'
and
a.Event_Type_ID = 1003
--group by a.session_id,b.event_id,a.object_name,a.user_name,d.object_type_name,a.start_time
order by a.Start_Time desc
Thanks,
Mahesh.M