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
+20
View File
@@ -0,0 +1,20 @@
# Template mining
## Baseline: 3857 events become 10 templates
791 INFO CatalogController GET /api/products/<*> <*> in <*> ms
746 INFO AuthFilter Token validated for user u-<*>
715 INFO OrderController Order <*> placed by customer c-<*> total=<*>
695 INFO InventoryService Reserved <*> units of SKU-<*>
653 INFO PaymentService Payment approved for order <*> in <*> ms
120 INFO HikariPool HikariPool-<*> - Pool stats (total=<*>, active=<*>, idle=<*>, waiting=<*>)
62 WARN PaymentService Payment declined for order <*>: insufficient funds
43 WARN SlowQueryDetector Slow query (<*> ms): select * from orders where customer_id = ?
30 ERROR OrderController Failed to process order <*>: validation failed
2 INFO CacheRefresher Nightly cache refresh completed in <*> ms
## Failure: words that are not numbers. Same traffic, real user names instead of u-1042
AuthFilter templates, digits-only masking: 20
AuthFilter templates, with the second pass: 1
all templates, digits-only masking: 29
all templates, with the second pass: 10
746 Token validated for user <*>