Offline security telemetry policy optimizer with verifiable replay, counterexamples, and an experimental FPGA accelerator.
LogRation compares offline security telemetry retention policies against the alerts produced from the same historical events and rules.
The current local preview covers Windows JSONL and LANL authentication CSV normalization, restricted Sigma compilation, native count and ordered correlation, CPU replay, impact, Pareto search and replayable witnesses. The Studio serves the same CPU analysis pipeline on localhost. See STATUS.md for the phase and hardware gates.
git clone https://github.com/Ian684/LogRation.git
cd LogRation
cargo build --locked
cargo run --locked -p logration -- replay --dataset datasets/fixtures/synthetic/manifest.json --rules rules/examples/demo.json --policies policies/examples/demo.json --out build/first-replay
cargo run --locked -p logration -- report build/first-replay --format csvLogRation Studio (logration serve) on localhost with the synthetic demo dataset.
Alert retention per policy on the synthetic demo dataset. Generated from the tool's own output on the bundled examples.
Use Python 3.12, the pinned Rust toolchain, and Node/npm for Studio. From the repository root:
cargo build --locked
cargo run --locked -p logration -- doctor --json
cargo run --locked -p logration -- inspect datasets/fixtures/synthetic/manifest.json
New-Item -ItemType Directory -Force build | Out-Null
cargo run --locked -p logration -- replay --dataset datasets/fixtures/synthetic/manifest.json --rules rules/examples/demo.json --policies policies/examples/demo.json --out build/first-replay
cargo run --locked -p logration -- report build/first-replay --format csv
python scripts/run.py verify --tier software
python scripts/run.py evidence-verifyUse a fresh output path each time. The CLI writes alerts, impact, cost and
run metadata to the selected run directory. The demo fixture is synthetic.
Use benchmark in place of replay with the same arguments to save
replay-profile.json alongside a measured run. The repeated comparison
procedure is described in the benchmark report.
The LANL documentation preview is a separate set of
three published records.
For the registered OpenSSH splits, acquire the pinned archive and replay it:
New-Item -ItemType Directory -Force datasets/cache | Out-Null
curl.exe --fail --show-error --silent --max-filesize 8388608 --output datasets/cache/loghub-ssh-v8.tar.gz https://zenodo.org/records/8196385/files/SSH.tar.gz
python scripts/run.py benchmark --suite public --backend cpunpm ci --prefix apps/studio --ignore-scripts
npm run build --prefix apps/studio
cargo run --locked -p logration -- serve --port 8765Open http://127.0.0.1:8765 on the same machine. Use the synthetic demo or import a local Windows JSONL or LANL authentication CSV file up to 4 MiB from Dataset & rules. Replay with the two native demo rules, inspect a lost key, minimize its witness or search for a Pareto plan. Completed runs offer JSON, CSV and Markdown exports. See docs/api.md.
- Semantics and acceptance
- Hardware ABI and controls
- Benchmark boundaries and results
- Related work and third-party terms
- Requirement status and evidence
FPGA builds target Vivado 2022.2 and its installed PYNQ-Z2 board preset. See the Vivado results for routed timing, utilization, warnings and the local overlay hashes. The optional local preview archive includes the tested P32 bitstream and matching hardware handoff. See the board guide for authorization, raw-output verification and supported analysis boundaries. The same-board benchmarks include exact million-event checks and a full OpenSSH replay. The OpenSSH report path took 25.01 seconds on FPGA and 4.70 seconds with the ARM CLI.
This is a local engineering preview. LogRation's original code is available under the MIT License. See NOTICE for included source material. The Windows preview ZIP includes source, the executable and built Studio assets. Raw verification receipts stay in the local workspace.


