Need SQL/SWQL query for a report about Traps received in last 1 day in the OLV

Since the upgrade to OLV we are facing a lot of issues, i am not able to fetch a simple report for all the traps received in last 1 day to the OLV(Orion Log Viewer).

All the help will be greatly appreciated,