you would need to use utl file or some other method reading the alert log into a table so you can query it.

Http://asktom.oracle.com has an example