basic sqlite writer seems to work.

does not support table and vector types because SQLite has no support for arrays.
also does not support rotation, etc.

Not really tested thoroughly - but starting bro with Log::default_writer=Log::WRITER_SQLITE
yields a couple of sqlite files that seem to contain sensible stuff.
This commit is contained in:
Bernhard Amann 2012-05-31 10:32:18 -07:00
parent 83dcbd4aa7
commit 6e0d15b55e
5 changed files with 395 additions and 0 deletions

View file

@ -163,6 +163,7 @@ enum Writer %{
WRITER_NONE,
WRITER_ASCII,
WRITER_DATASERIES,
WRITER_SQLITE,
%}
enum ID %{