Anomalies

For arlanix/api-monitor 1.0.1

Anomalies

Open Arlanix > API Monitor > Anomalies to investigate traffic that reaches an alert threshold. The grid keeps the latest retained alert for each type, protocol and IP combination. Protocol-wide alerts have no individual IP.

Filter Anomaly by its label. These defaults apply separately to each protocol:

Alert type Default threshold and scope
API request volume 300 requests from one IP in a minute.
API authentication failures 20 authentication or authorisation failures from one IP in a minute.
API error rate 20% errors, with at least 20 requests in the minute.
Slow API requests 20 requests taking at least 2,000 ms in a minute.
API traffic spike Learned threshold, with a minimum of 120 requests in the compared total across all IPs.

Reaching the threshold qualifies. Counters include requests omitted by sampling. Alerts do not block requests.

Anomalies grid with request volume, authentication failures, error rate, slow requests and traffic spike alerts

The alert records are demonstration data.

Traffic spikes

API traffic spike compares a protocol's recent total with its usual traffic. REST, SOAP and GraphQL learn separately. The total normally covers the completed minute and the preceding minute. It can cover a single minute when the previous one is missing or already flagged.

By default, the total must reach at least three times the usual total and the minimum in the table. Variable traffic can raise the threshold further. Review Detect traffic spikes, Minimum requests in two minutes for a spike and Spike multiplier under Advanced; see Configuration.

Allow about 30 minutes of regular checks on a new installation. Gaps and flagged minutes can delay readiness. Gradual growth becomes usual traffic, while a sudden import or synchronisation can trigger alerts.

The summary uses wording such as REST volume: … in 2 minutes (usual …, threshold …) ending … UTC. It still says in 2 minutes when only the ending minute contributes.

Investigate an alert

For example, REST authentication failures: 28 (threshold 20) in minute 2026-11-06 14:00 UTC from 1.2.3.4 identifies the observed count, threshold, minute and peer IP. This is an illustrative summary.

Use the summary's minute for your search. Last Alert (UTC) is when the alert was published, which can be later.

  1. Read Protocol, IP and Summary to identify the affected traffic.
  2. Open matching requests through Dashboard Recent alerts, or set the filters in Request logs.
  3. For an IP alert, narrow by IP, which can be a proxy address; see the address reference.
  4. Compare paths, statuses, durations and available bodies with planned integration activity.

For spikes, inspect the two-minute window ending with the summary's minute, including when only one minute contributed to the total. See the Anomalies reference for grid fields.

Repeated or missing alerts

Alert cooldown (minutes) defaults to 15 for the same type, protocol and IP. A continuing problem can alert again after that interval.

When many different IPs send requests in the same minute, some per-IP counts can be missed; protocol totals still include those requests. For missing alerts, follow Cron and cleanup with your developer, or see Get help.