How baselines are built
Flarehawk continuously maintains a running mean and variance for each metric in real time — there is no batch job that recalculates baselines on a schedule. Detection thresholds are derived from these statistics and adapt as your traffic changes, so the effective threshold in requests-per-minute (or error ratio, or bytes-per-second) rises and falls with your traffic.Thresholds are also scaled by traffic volume. Rules apply higher multipliers for high-traffic domains, reducing false positives at scale without reducing sensitivity for lower-volume domains.
Seasonal patterns
Traffic is not uniform throughout the day or the week. Flarehawk’s baselines account for two types of seasonality: Hour-of-day: The analysis worker tracks separate baseline statistics for each hour of the day. Traffic at 3 AM is not compared to traffic at 3 PM—each hour has its own learned mean and variance. This prevents overnight quiet periods from producing false positives when morning traffic picks up. Day-of-week: Similarly, weekend traffic patterns for most applications differ from weekday patterns. Flarehawk maintains per-day-of-week statistics so that a busy Saturday does not trigger an alert against a baseline built from weekday traffic. For the geographic anomaly rule, a full 14-day calibration period is used to capture both weekday and weekend patterns before full detection sensitivity is reached.New domain calibration
When you add a new domain to Flarehawk, statistical rules enter a 7-day calibration period. During this time, the rules collect baseline data but apply relaxed sensitivity—alerts may fire at higher thresholds than normal to prevent spurious notifications while the baseline is still forming. After 7 days (and a minimum sample count), the calibration period ends and full detection sensitivity applies. The dashboard displays the calibration status for each domain in Settings → Detection. ML rules on Complete tier domains follow a longer 14-day calibration window, because the models require more data to establish reliable baselines.1
Domain added
Flarehawk begins ingesting logs and computing feature vectors immediately. Baseline statistics start accumulating.
2
Days 1–7 (calibration)
Rules evaluate signals against early baselines. Detection is active but sensitivity is reduced to minimize false positives. The dashboard shows a “Calibrating” badge on the domain.
3
Day 7+ (full sensitivity)
The calibration period ends. Rules apply their full Z-score thresholds against a well-formed baseline. The “Calibrating” badge is removed.
4
Ongoing adaptation
Baselines continue updating continuously. The system adapts to gradual traffic changes over days and weeks without intervention.
False positive feedback
When you mark an alert as a false positive in the dashboard, Flarehawk uses that signal to adjust future detection for the same rule on the same domain. Specifically:- The baseline mean and variance for the relevant metric are nudged upward, raising the effective threshold.
- The adjustment is weighted—a single false positive marking has a moderate effect; repeated false positive markings on the same rule have a stronger cumulative effect.
- True positive alerts are not penalized. The adjustment only applies when you explicitly mark an alert as a false positive.
False positive feedback affects only the domain and rule where you applied it. It does not change baselines for other domains or other rules.
Viewing current baselines
You can inspect the current baseline values for any domain and rule in the Flarehawk dashboard.1
Navigate to Detection Settings
Go to Settings → Detection for the domain you want to inspect.
2
Select a rule
Click on any rule in the list to expand its detail panel.
3
View baseline metrics
The detail panel shows the current baseline mean, standard deviation, and the derived alert threshold for that rule, expressed in the rule’s native units (for example, requests per minute or error ratio).
When traffic patterns change suddenly
If your traffic changes abruptly—a product launch drives a 10x traffic increase, a migration shifts your path structure, or you turn on a CDN that changes your geographic distribution—the baseline will lag behind for a period. This can cause two types of behavior:- Elevated false positives: Because the old baseline is now lower than your new normal, statistical rules may fire frequently until the baseline catches up.
- Reduced sensitivity: In rare cases where traffic drops dramatically (a maintenance window, for example), the baseline may temporarily set thresholds too low for the reduced traffic level.
Baseline reset is irreversible for the historical mean and variance—the previous learned values are discarded. Only reset baselines when you are confident the old traffic patterns are no longer representative.

