in reply to How to view and filter logs in a database

You might want to look at Splunk. It's not free, and it's not an RDBMS under the hood. But it collects and indexes logs from different systems, it has an SQL-like query language, and there is a web interface.