Split from #41
Issue #41 (EVE Reader - alert-only file ingestion) has been partially completed.
Completed (keeping #41 open for tracking)
- ✅ Alert-only parsing implemented (
pkg/suricata/reader.go lines 133-138)
- ✅ Skip non-alert events (flow, stats, etc.)
- ✅ Dual-output architecture configured
This Issue: Remaining Work
Technical Context
Current implementation uses polling (100ms ticker) without rotation detection:
// pkg/suricata/reader.go - current polling model
ticker := time.NewTicker(100 * time.Millisecond)
Risk: If logrotate rotates eve-alerts.json while daemon is running, events can be lost.
Solution: Implement fsnotify-based file watcher with rotation detection.
Acceptance Criteria
Split from #41
Issue #41 (EVE Reader - alert-only file ingestion) has been partially completed.
Completed (keeping #41 open for tracking)
pkg/suricata/reader.golines 133-138)This Issue: Remaining Work
fsnotifyto go.mod dependenciesTechnical Context
Current implementation uses polling (100ms ticker) without rotation detection:
Risk: If logrotate rotates
eve-alerts.jsonwhile daemon is running, events can be lost.Solution: Implement fsnotify-based file watcher with rotation detection.
Acceptance Criteria