get_anomalies
get_anomalies
Section titled “get_anomalies”List client-impacting anomalies the controller has detected.
Side effects: None (read-only).
Returns one record per anomaly with anomaly (an enum string such
as USER_HIGH_TCP_LATENCY or USER_DNS_LATENCY), mac (the
affected client), and timestamps (a list of epoch-ms occurrence
times). Returns an empty list on a clean network.
Example
Section titled “Example”get_anomalies(controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |