top_bandwidth
Top NetFlow conversations over the last N minutes — the 'who's eating bandwidth right now?' question. Wraps GET /api/getTopBandwidth/{mins}, the same query that powers the dashboard live widget.
Use this for short-window 'right now' inquiries. For longer windows (hours-to-days) or filtered top-talkers, use netflow_search instead — that tool has the rich filter set; this one is the live snapshot.
Server-side cap: top 20 conversations by in-window bytes descending. We don't expose top_n — the upstream endpoint hardcodes the limit and there's no value in lying about that to the LLM.
Each row: {src_host, src_id, src_ip, dst_host, dst_id, dst_ip, bytes, bps}. Hostnames come from the _dns view (PTR + custom overrides); src_id/dst_id are populated when the IP matches a monitored device. bytes is the conversation's in-window share (pro-rated), and bps is averaged across the window — not a live rate.
Permission: vne. Examples: top_bandwidth({minutes: 5}) top_bandwidth({minutes: 60})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minutes | No | Lookback window in minutes (1-1440 / 24h). Default 5. Matched by OVERLAP across the raw and aggregated flow tables with bytes pro-rated to the window, so long lookbacks are honest — not capped by the ~15-minute raw horizon. |