Using SpikeCatcher
How anomaly detection works
How SpikeCatcher tells real cost spikes from normal variation: z-score, percentage and sustained-growth tests, severity levels and thresholds.
SpikeCatcher uses statistical analysis to separate genuine cost spikes from normal day-to-day variation. Understanding how it works helps you tune thresholds and interpret alerts correctly.
How the baseline is calculated
For each AWS service in each account, SpikeCatcher looks at the last 30 days of daily spend and computes:
- The mean (average daily spend)
- The standard deviation (how much daily spend typically varies)
A service's daily spend is flagged as anomalous when any of these is true — and in every case the increase must also reach the minimum dollar delta (default $50):
- Statistical: more than 2 standard deviations above the mean.
- Percentage: at least the minimum % change (default 20%) above the baseline.
- Sustained growth: spend rising every day for 4 days, averaging 15% or more per day — catches a runaway before it clears the other tests.
ℹ️ Note
The dollar floor always applies. A $60 spike on a service that normally costs $5/day is an anomaly; a $20 spike is ignored however large the percentage.
Spend here means usage. Credits, refunds, tax, support charges and upfront fees are excluded, so they never create a false spike — or hide a real one. A service needs at least 3 days of history before it can be scored.
Why you might see 'false positives'
Some legitimate cost patterns look like anomalies:
- Month-end batch jobs — if you run big jobs on the last day of the month, they'll spike above the daily average.
- New services — a service with only a few days of history has a narrow baseline; small changes look big.
- Planned traffic increases — a product launch or marketing event will spike EC2/RDS costs.
For known patterns, use suppressions (Settings → Suppressions) to mute alerts for specific services or accounts.
Adjusting thresholds
In Settings → Thresholds you can tune three global parameters:
- Z-Score Threshold — higher = less sensitive (default 2.0; try 2.5 to reduce noise)
- Min Dollar Delta ($) — ignore spikes below this amount (default $50; raise to $200 for large-spend accounts)
- Min % Change — minimum percentage increase to flag (default 20%)
Per-Service Alert Rules on the same page let you give a specific service its own monthly budget (for example, alert if Amazon EC2 is on track to pass $5,000) in addition to the global thresholds.
Anomaly severity levels
Severity is based on how far spend is above its baseline:
- Low — less than 50% above baseline
- Medium — 50–99% above baseline, or a sustained-growth trend
- High — 100% or more above baseline (spend at least doubled)
- Critical — reserved for security findings and unusual-region activity
Your Minimum alert severity setting (Settings → Notifications) decides which of these generate email and Slack alerts.
Daily vs real-time anomalies
SpikeCatcher has two detection paths:
- Daily anomalies — based on actual billed cost from Cost Explorer, run overnight. Most accurate.
- Real-time anomalies — based on CloudTrail events (resource launches), within ~15 minutes. These are early warnings — the actual dollar impact is estimated until the daily pull confirms it.
You now understand how SpikeCatcher scores and surfaces anomalies — use this to tune thresholds for your workload.
Was this helpful? Have a question?
Contact support