No description
  • Rust 73.7%
  • PLpgSQL 20.9%
  • Nix 4.8%
  • Dockerfile 0.6%
Find a file
Robin Appelman dc6d09592f
All checks were successful
CI / checks (push) Successful in 1m53s
count logs for drop attribution
2026-11-18 22:44:54 +01:00
.forgejo/workflows workflow updates 2025-05-30 23:30:17 +02:00
.sqlx log parsing fixes 2026-11-18 00:03:12 +01:00
nix add log directory to nix module 2026-11-15 16:39:58 +01:00
src log parsing fixes 2026-11-18 00:03:12 +01:00
tests/data flake reorg 2025-05-30 23:27:20 +02:00
.dockerignore dockerfile 2020-06-20 13:06:53 +02:00
.envrc flake 2022-07-22 20:23:47 +02:00
.gitignore flake 2022-07-22 20:23:47 +02:00
.sql-formatter.json extract kills from raw logs 2026-11-15 14:33:05 +01:00
Cargo.lock log parsing fixes 2026-11-18 00:03:12 +01:00
Cargo.toml released log-tf-parser 2026-11-15 16:34:39 +01:00
Dockerfile optimize docker build 2022-06-04 23:54:19 +02:00
flake.lock flake update 2026-11-13 00:04:13 +01:00
flake.nix flake update 2026-11-13 00:04:13 +01:00
README.md basic readme 2025-05-30 23:34:30 +02:00
schema.sql count logs for drop attribution 2026-11-18 22:44:54 +01:00

log-normalizer

Perform some normalization on the parsed logs from logs.tf

This works on the archived data as created by the log-archiver.

Requirements

  • Postgresql database with the schema from schema.sql applied.
  • Postgresql database with the schema from log-archiver applied.

Usage

Run the binary with the following environment variables

  • DATABASE_URL: connection url for database that the normalized data will be stored, e.g. postgres://user:password@db_host/normalized_logs
  • RAW_DATABASE_URL: connection url for database that the raw log data is stored in, e.g. postgres://user:password@db_host/raw_logs