mirror of
https://github.com/skeeto/endlessh.git
synced 2025-12-09 22:45:36 +00:00
Add a log parsing utility
This commit is contained in:
8
util/schema.sql
Normal file
8
util/schema.sql
Normal 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
|
||||
Reference in New Issue
Block a user