# 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 <*>