Skip to content

Commit 3cbf4c0

Browse files
committed
Synchronized with SCOM-Scripts-and-SQL 🎆 🌟
1 parent d2d6af1 commit 3cbf4c0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
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)