Add config validation and dashboard

Add YAML config loading with validation, env overrides for secrets, and
a web dashboard exposing health, stats, and recent events.
This commit is contained in:
2026-08-03 12:12:12 -04:00
parent 3f48912ad7
commit 4e1d7cd94a
29 changed files with 2344 additions and 55 deletions
+13
View File
@@ -0,0 +1,13 @@
module sources
pub fn transform_generic(raw string, source GenericSource) ?Event {
return Event{
source: 'generic'
name: source.name
topic: source.topic
priority: source.priority_map['default'] or { 0 }
tags: source.tags.clone()
message: raw
raw: raw
}
}