Engineering
Designing Agent Investigations for Trillion-Scale API Logs
As internal microservices scale, raw API logs alone can't tell you whether an authenticated HTTP 200 call is legitimate. This use case walks through how we built a four-stage security analytics pipeline in Databend Cloud that pre-computes workload risk in the lakehouse before handing off to an AI Agent. In a simulated injection attack, the Agent traced the full attack path—from a stolen credential on an unknown host to unauthorized sensitive API calls—while reading only 24 rows across four queries. We also share our 100M-row and high-density benchmark numbers, ingestion pitfalls, and the boundaries we haven't tested yet.



