Hi,
I am looking for two separate queries which gives me an output of Top 25 Audit events & Top 25 Event Messages of Last 7 days/ 14 days / 30 days respectively.
Can anyone please help?
SWQL is more preferable else, SQL is also fine.
Hmmmm... You'll want to filter with ADDDATE then...
Hi @yaquaholic
Thank you for sharing. Can you please also help me with the time duration?
Example, Top 25 events from last 7 days or last 24 hours!
I tried some changes on my end with below query but not receiving the expected outcome.
select top 25 ET.Name, E.Message, E.EventTime, count(E.EventType) AS Totalfrom Orion.Events EJoin Orion.EventTypes ET ON ET.EventType = E.EventTypegroup by ET.Name, E.message, E.EventTimeOrder By Total DESC
Objective is to get the list of Event messages and audit events from last 24 hours & last 7 days.
Awesome. Thank you!