← Back to the Pokédex #001 · Monitoring

Loggle

Loggle evolving into Logzilla
Type
Monitoring
Anomaly
Log Analytics / App Insights ingestion spike
Evolves into
Logzilla
Weakness
Daily cap, diagnostic settings review

What it is

Loggle lives in your monitoring estate and feeds on telemetry. A noisy app, verbose log level or newly enabled diagnostic setting makes ingestion jump overnight. Log Analytics and Application Insights charge per GB ingested.

How to spot it

  • Sudden rise in Log Analytics / Application Insights data ingestion cost.
  • The Usage table shows one table (e.g. AzureDiagnostics, ContainerLog, traces) growing sharply.
  • Diagnostic settings recently added to many resources, or debug/trace logging left on.

Common causes

  • Debug or verbose logging deployed to production.
  • Diagnostic settings sending all categories to Log Analytics.
  • Container Insights / VM Insights collecting everything.
  • No sampling in Application Insights.

Evolution: Logzilla

Left alone, ingestion compounds across workspaces and subscriptions until monitoring is one of the biggest line items on the bill.

Defences

  • Set a daily cap, with an alert before it is hit (capping drops data).
  • Review diagnostic settings and send only the categories you need.
  • Enable sampling; consider Basic Logs or commitment tiers.
  • Alert on ingestion volume using the Usage table.

Real world encounter

The encounter

A team releases a new web app. In development and test it behaved perfectly, with a handful of users and an App Insights bill too small to notice. A few weeks after go-live, the monitoring line on the invoice has multiplied several times over. Nothing is broken and the app is healthy, which is why nobody was looking.

Tracking it down

In Cost Analysis, the increase sits under Application Insights / Log Analytics data ingestion. Querying the Usage table grouped by data type shows two tables dominating the growth: dependencies and traces. The app configuration shows the developer had set very verbose logging and no sampling, so every API call and dependency call is logged in full.

The same pattern shows up in other forms. One team using an SRE agent chose to log everything so the agent had plenty of data to reason over, and ingestion jumped from 50GB to 200GB per day. Another added VMs and diagnostic settings gradually, so growth was a steady climb rather than a spike. They believed they were spending around 25k per month on logging and were actually spending 50k.

Catching it

The fixes were to turn down log verbosity in production, enable sampling in Application Insights, send only needed diagnostic categories, and set a daily cap with an alert ahead of it. Larger, stable workloads moved to a commitment tier. A KQL query on the Usage table now tracks table growth.

The lesson

Loggle feeds on scale. Verbose logging is harmless with ten test users and expensive with ten thousand real ones, and gradual growth won't trigger anomaly alarms. The answer is application-level FinOps scopes and budgets, plus ingestion volume metrics, rather than waiting for the invoice.