Add a log parsing utility

This commit is contained in:
Christopher Wellons
2019-02-06 15:18:09 -05:00
parent a1dda3c70e
commit ae76b41294
2 changed files with 43 additions and 0 deletions

8
util/schema.sql Normal file
View File

@@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS log (
host TEXT,
port INTEGER,
time REAL,
bytes INTEGER
);
.mode csv
.import /dev/stdin log