get_traffic_analysis
Analyze UniFi site traffic patterns over a configurable lookback window, identifying top talkers, application breakdown, bandwidth trends, and unusual activity to troubleshoot network usage.
Instructions
Analyze site traffic patterns over a configurable time window.
Read-only operation: it reports top talkers, application breakdown (DPI), bandwidth trends, and unusual activity for the lookback period. Use get_traffic_summary for a quick volume-only snapshot, get_dpi_stats for the app breakdown without the time series, or get_client_traffic for one client.
Args: hours: Lookback window in hours from now (default 24). site: Site to query. Defaults to "default". device: Optional console/device name to target a specific UniFi console; omit to use the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to query. Defaults to "default". | default |
| hours | No | Lookback window in hours from now (default 24). | |
| device | No | Optional console/device name to target a specific UniFi console; omit to use the default. |