Add log-anomaly module: Spring Boot log parser, template mining, swappable embedder, k-means baseline, novel-template and rate-spike detectors with measured blind spots, incidents and a template-only summary prompt on Spring Boot 4.2.0

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
This commit is contained in:
2026-12-01 23:57:00 +05:30
co-authored by Claude Sonnet 5.5
parent 943351bccb
commit dc94d7fece
46 changed files with 2048 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Parsing Spring Boot log lines
## First lines of the baseline
2026-11-30T09:00:00.000+05:30 INFO 4121 --- [shop] [nio-8080-exec-6] c.a.shop.CatalogController : GET /api/products/884 200 in 13 ms
2026-11-30T09:00:01.843+05:30 INFO 4121 --- [shop] [nio-8080-exec-6] c.a.shop.OrderController : Order 77525 placed by customer c-519 total=8093.82
2026-11-30T09:00:03.687+05:30 INFO 4121 --- [shop] [nio-8080-exec-4] c.a.shop.CatalogController : GET /api/products/476 200 in 35 ms
## An ERROR with a stack trace: one event, several physical lines
2026-11-30T11:12:30.421+05:30 ERROR 4121 --- [shop] [nio-8080-exec-8] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Connection is not available, request timed out after 30000ms.
java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:686)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:179)
## Counts
baseline: 3947 physical lines, 3857 events, 0 orphan lines
target: 2196 physical lines, 1524 events, 0 orphan lines
that ERROR event: level=ERROR logger=HikariPool continuation lines=3
exception line: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
## The same line without the application name bracket
parsed: level=INFO thread=nio-8080-exec-1 logger=OrderController message=Order 42 placed