logx v0.1.0
logx v0.1.0 — first release
logx queries nginx logs in plain English, fully offline: a 15.57M-param
fine-tune of google/t5-efficient-tiny translates your question into a
strict JSON DSL, which a deterministic, read-only, shell-free executor runs
over your log files. No network calls, no data egress, Apache-2.0.
git clone https://github.com/devang007/logX && cd logX
./install.sh # downloads the model asset below, verifies sha256
logx -q "top 5 ips" -src /var/log/nginx/access.log
tail -n 100000 access.log | logx -q "how many 502s in the last hour"
man logxModel (attached assets)
logx-model-v0.1.0.zip(56 MB) — weights (safetensors) + tokenizer (JSON).
No pickle files. See MODEL_CARD.md.logx-model-v0.1.0.zip.sha256— checksum, verified automatically by the installer.
| Val metric (n=2,364) | Value |
|---|---|
| Exact match | 90.95% |
| JSON-valid | 98.27% |
| Schema-valid | 98.18% |
Scope & safety
- nginx access + error logs (Apache combined access format also parses).
- Out-of-scope questions abstain (exit 2) — nothing executes.
- Execution is restricted to an allowlist of read-only binaries; filter
values never enter code. Model output is schema-validated before any run. - Known limits: OOD generalization not yet published; ~4 s model load per
invocation (ONNX INT8 planned); English only.