In our system we usually get 40 – 50 stateless incidents due to ora-00060 errors (Poorly written software) type issues. In the past it has been very difficult to remove them via the GUI console. I found an article in http://www.freelists.org that helped me fix them – “www.freelists.org/post/oracle-l/Clearing-stateless-events-in-OEM-12c,2“. There is an automated job (Out of the box) to clean them up, and i will be setting this up in my environment. Also, the event for alert logs can be modified, but Im still looking at ways to do that in an easy manner.
Here is a snippet of the code to clear the events:
[oracle@machinename bin]$ ./emcli login -username=sysman
[oracle@machinename bin]$ ./emcli clear_stateless_alerts -older_than=0 -target_type=oracle_database -target_name=<databasename>
46 alerts were cleared successfully.
[oracle@machine bin]$ ./emcli logout