select
tc.name TraceEventClass ,
te.name TraceEvent,
tr.HostName,
tr.ApplicationName,
tr.LoginName,
Duration,
tr.StartTime,
tr.EndTime,
(tr.IntegerData*8.)/1024 GrowthMB,
tr.ServerName,
tr.DatabaseName,
tr.FileName,
left(path,patindex('%log_[0-9]%',path)-1)+'log.trc'
from sys.traces t
cross apply sys.fn_trace_gettable(left(path,patindex('%log_[0-9]%',path)-1)+'log.trc',default) tr
left join sys.trace_events te
on tr.EventClass = te.trace_event_id
left join sys.trace_categories tc