mirror of
https://codeberg.org/icewind/log-normalizer.git
synced 2026-06-03 05:44:06 +02:00
No description
- Rust 68.5%
- PLpgSQL 25.5%
- Nix 5.2%
- Dockerfile 0.8%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| .sqlx | ||
| nix | ||
| src | ||
| tests/data | ||
| .dockerignore | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| schema.sql | ||
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.sqlapplied. - 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_logsRAW_DATABASE_URL: connection url for database that the raw log data is stored in, e.g.postgres://user:password@db_host/raw_logs