TUI Client
flowwler-tui is a terminal interface for flowwler. It connects to the REST API and gives a keyboard-driven view of the daemon, refreshing every second.
!!! note "Formerly flowwler-cli"
The package and binary were renamed from flowwler-cli to flowwler-tui. Installing flowwler-tui replaces the old package.
Tabs
Navigate tabs with F1–F6 or Tab / Shift+Tab.
| Tab | Key | Description |
|---|---|---|
| Dashboard | F1 | Version, uptime, active mitigations, BGP peers, flow exporter health, recent attacks |
| Attacks | F2 | Attack history with summary stats. Opens an event timeline with FlowSpec rules and suggestions, and the PCAP filename when a capture exists. The detail view shows Peak Discard (when non-zero), the stored FlowSpec rules under their event (destination, match, and when recorded rate limit, next hop, VRF and communities) and the top 5 countries and top 5 ASNs by peak BPS. |
| Mitigations | F3 | Active mitigations. Create blackhole, subnet-blackhole or FlowSpec mitigations with n; delete the selected one with d. |
| Groups | F4 | Per-group traffic rates, active victims, escalation levels, rules and per-IP breakdown |
| BGP | F5 | BGP peer states and RIB (IPv4/IPv6 unicast and FlowSpec). Reads the snake_case peer keys and still accepts the PascalCase keys of older daemons. |
| Notifications | F6 | Notification target health and last-fired times. Send a test event with t. |
Errors
When a refresh call fails, the Dashboard, Attacks, Groups and BGP tabs show a red refresh failed: line naming the failed calls. The data from the last successful refresh stays on screen, so scroll position and selection are kept. The Dashboard lists every failed call by name. Daemon error messages appear as HTTP <code>: <message>, with the status text when the daemon sent no message.
Key bindings
| Key | Action |
|---|---|
F1–F6 |
Switch tab |
Tab / Shift+Tab |
Next / previous tab |
↑ ↓ j k |
Navigate list |
Enter |
Open detail view or confirm |
Esc / b |
Back to list. In the mitigation form, Esc goes back one step and closes the form from the first step (type selection) |
n |
New mitigation (Mitigations tab) |
d |
Delete selected mitigation |
t |
Send test notification (Notifications tab) |
g |
Jump to top (Attacks tab) |
r |
Refresh current tab |
R |
Reload daemon config (any tab) |
S |
Trigger external prefix sources refresh (any tab) |
G |
Reload GeoIP databases (any tab) |
q / Ctrl+C |
Close the mitigation form if it is open; otherwise quit |
Installation
sudo apt install flowwler-tui
The binary is installed as /usr/local/bin/flowwler-tui.
Configuration
Every flag has an environment variable.
| Flag | Short | Env var | Default | Description |
|---|---|---|---|---|
--url |
-u |
FLOWWLER_URL |
http://localhost:9731 |
flowwler API base URL |
--api-key |
-k |
FLOWWLER_API_KEY |
- | API key sent as X-API-Key |
--username |
FLOWWLER_USERNAME |
- | HTTP Basic Auth username | |
--password |
FLOWWLER_PASSWORD |
- | HTTP Basic Auth password |
If the flowwler API has authentication enabled (see REST API - Authentication), supply credentials via --api-key or --username/--password.