Log Aggregation & Anomaly Alerting Tool
A Java devops tool that tails multiple application log files concurrently, parses structured log entries, detects anomalous spikes in error rates, and sends alerts. Learners practice multi-threaded file tailing, regex parsing at scale, and simple anomaly-detection heuristics.
- Estimate
- ~11h
- Steps
- 6
- Completed by
- 0
- Proposed by
- codeseed.app
Java Threads · Regex · java.nio.file.WatchService
Project roadmap
- 01
Watch log files
~2hUse WatchService to detect new lines appended to each watched log file.
- 02
Parse log entries
~1.5hParse raw log lines into structured entries with timestamp, level, and message using regex.
- 03
Tail files concurrently
~2hRun a tailer per log file concurrently using a thread pool.
- 04
Detect anomalies
~2.5hImplement a sliding-window error-rate calculation that flags unusual spikes.
- 05
Send alerts
~1.5hSend an email or webhook alert whenever the error-rate threshold is exceeded.
- 06
Add a summary dashboard
~1.5hPrint a periodic console summary of log volume and error rates across all watched files.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack