Skip to content

Commit 94fecb8

Browse files
authored
Create DW_EventsByNumber.sql 📚
1 parent 84acfde commit 94fecb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--Most common events by event number and raw event description (this will take a very long time to run but it shows us not only event ID – but a description of the event to help understand which MP is the generating the noise)
2+
SELECT top 100 EventDisplayNumber, Rawdescription, COUNT(*) AS TotalEvents
3+
FROM Event.vEvent evt
4+
inner join Event.vEventDetail evtd on evt.eventoriginid = evtd.eventoriginid
5+
GROUP BY EventDisplayNumber, Rawdescription
6+
ORDER BY TotalEvents DESC

0 commit comments

Comments
 (0)