Appearance
Dashboards and metrics Since v0.1
The Dashboard is the first page of the console. It shows the state of your configuration, the traffic of the last 24 hours and the problems that need a decision. The same data is available from the CLI and the management API, and the node exposes Prometheus metrics for your own monitoring. For dashboards you build yourself, see Analytics dashboards.
Before you begin
- Role:
viewerreads everything on this page. A scoped account sees only its applications, their pools and the matching counts. Unused objects and pair-wide warnings show only to global readers. - Traffic counts need traffic logging on. For details, see Traffic log.
Read the dashboard
Open Dashboard. It has three tabs.
| Tab | What it shows |
|---|---|
| Overview | A configuration summary, six tiles, the configuration warnings and one table of applications. |
| Traffic and threats | Requests, blocked and logged over time, top rules, clients, paths, applications and countries, the bot mitigation panel and the latest security events. New events appear live. |
| Daily digest | The latest digest the analyst wrote for each application. |
The Traffic and threats tab adds an API violations and Authentication failures section when API protection is on, with the endpoints to review. Once a session, data or file protection has recorded an event, a Data and sessions card lists the events of each. The same counts per module come from waap events top -by module.
The Overview tab has three bands: the summary tiles, the warnings, then the applications table. Each application row shows its mode, health, requests, blocked and would-block counts for 24 hours, blocks per hour, protections and warnings. Applications with problems come first. Above six applications, Filter applications searches names, hostnames and pool names.
What the counts mean
Requests include allowed traffic that has no security event, so the Events list need not hold one entry per request. Blocked counts events with outcome block. Would be blocked (detect) counts events whose would_block flag is set, so ordinary log-only matches do not inflate it. Both cover the last 24 hours. Counter flushing, event retention and dropped events can make the sources differ a little.
Health and counts refresh every 10 seconds while the page is open. A refresh failure shows an error and a retry button, not an old healthy value. The open or collapsed state of Traffic and threats is kept in your browser; the page works without it when local storage is off.
Open a hostname to edit the application's addresses. Open a virtual server, pool, health value or protection chip to open its form. Open a count to see that application's Events for the last 24 hours.
Read the configuration overview
text
1. Open Dashboard, tab Overview.
2. Read the summary tiles, then the applications table.
3. Select Refresh overview to read again now.sh
waap overview
waap overview -jsontext
GET /v1/overviewThe overview lists the active configuration version, application modes, VIPs and virtual servers, server pools and health, and the requests, blocks and detect refusals of the last 24 hours. Cards are ordered by problems, then warnings, then name. A pool shared by several applications counts once. A card's blocks_by_hour has 24 UTC hour buckets ending with the current hour. A store read failure returns an error and never a fresh-looking zero.
See the application picture Since v0.2
Open Applications > All applications > app > Overview. The picture draws the path of a request in linked boxes: VIP, virtual server, application with its checks, server pool, then the servers. Open a box to see its form; certificate and check links open their own forms. On narrow screens the columns stack with downward arrows. Warnings and the 24-hour counts follow the picture.
text
1. Open Applications > All applications, and select the application.
2. Open Overview.sh
waap apps picture -app shop
waap apps picture -app shop -jsontext
GET /v1/apps/shop/pictureThe picture shows HTTPS addresses with the public certificate identity and expiry, never private keys. Each server shows its configured weight and state, and each reporting node's health, reason, observation time and counters. A shared pool shows each node separately and summarises with the worst state, not an average. Checks show block, detect or off, and signatures also show the paranoia level. Other applications that share the pool are not named. New security events record the server_pool that was selected, and waap explain shows it.
The side panel that lists the request stages is described in Trace a request.
Review configuration warnings Since v0.2
Warnings point at configuration that is probably wrong or incomplete. Each has an ID, a severity (problem, warning, info), the object, a text, the console page that fixes it and a CLI fix or diagnostic command.
text
1. Open Dashboard, tab Overview, and find the configuration warnings.
2. Select Show all to see more than the first four.
3. Select Review on a warning to open its repair form.sh
waap warnings
waap warnings -app shop -jsontext
GET /v1/warnings
GET /v1/warnings?app=shopA viewer without permission to read a global form sees who to ask and the CLI fix instead. Warning IDs can repeat for different objects, so read the text and the object together. Preview every edit before you apply it.
| ID | Meaning and action |
|---|---|
pool.down | One node reports every enabled server unhealthy. Restore a backend or correct the pool's check path and Host. |
pool.server_down | A server is unhealthy on at least one node. Inspect waap pools health and restore that node's path to the server. |
pool.no_health_check | The pool has no active check, so a stopped server may still receive traffic. Add a check path. |
pool.unused | No application uses the pool. Attach it or remove it. |
listener.unused | No application uses the virtual server. Attach it or remove it. |
vip.missing | A VIP that is not floating is not on any interface of a node (the text names the node). Add the address to the node. |
vip.unused | No virtual server uses the VIP (info). Use it or remove it. |
pool.duplicate | The servers and settings match another visible pool. Review waap pools merge -into KEEP -from OTHER -dry-run. |
cert.expiring | A certificate expires in under 30 days (warning), or in under 7 days or already (problem). Replace it. |
app.detect_would_block | Detect mode allowed requests that would have been blocked (the text gives the 24-hour count). Review Events, then set the application to block. |
app.module_detect | An enabled module detects while the application blocks. Review its form or set that module to block. Modules that are off do not warn. |
app.signatures_off | Signature inspection is disabled. |
app.https_no_redirect | Both HTTP and HTTPS are attached without a redirect to HTTPS. |
app.staged_expired | Signature or learned-rule staging passed its deadline. Review the rules, then remove or extend staging. |
learning.pending | New endpoint or parameter suggestions, or removals, wait for review. |
lists.fetch_failed | An address, file, fingerprint or bot-catalog feed failed its last fetch. The last good copy is kept. |
geoip.missing | A country rule exists but the country database cannot be loaded. |
ha.peer_lost | The paired peer is unreachable. Run waap ha status and restore the peer or the link. |
ha.diverged | The pair's sync alarm is active. Run waap ha status and repair the reported differences. |
ha.format_behind | The peer does not support the configuration format being written. Upgrade it. |
Warnings change when their source changes: configuration on apply, health after the next poll, events as counts flush and age, learning as its model refreshes (up to a minute), certificates and staging as the clock advances. Computing a warning never changes routing, inspection or the failure policy.
Scrape Prometheus metrics
The run and inspect roles serve Prometheus metrics at /metrics on the address given by the -metrics-addr flag (loopback by default). Envoy's own statistics are under /metrics/envoy.
| Group | Examples |
|---|---|
| Requests | waap_requests_total{app,outcome}, waap_inspection_duration_seconds{app,phase} |
| Events and bans | waap_events_stored_total, waap_events_dropped_total, waap_bans_active |
| Control plane | waap_management_refused_total, waap_policy_info{version} |
| API protection | waap_api_violations_total{app,rule}, waap_api_auth_failures_total{app,reason}, waap_api_inventory_overflow_total{app}, waap_api_keys_loaded |
| Session, data and file protection | waap_response_edits_total, waap_cookie_verdicts_total, waap_session_mismatches_total, waap_crossorigin_refusals_total, waap_dlp_matches_total, waap_file_findings_total, waap_icap_requests_total |
| Traffic log | waap_traffic_records_written_total, waap_traffic_records_dropped_total, waap_traffic_records_partial_total |
| Analytics | waap_analytics_queries_total{result} |
| High availability | waap_ha_* (the pair's state) |
Limits
| Limit | Value |
|---|---|
| Refresh while the page is open | every 10 seconds |
| Counts and hourly blocks | last 24 hours, this node's stored and replicated data |
| Warnings shown before Show all | 4 |
Troubleshooting
The dashboard shows an error instead of counts
- Cause: the store read failed. The page shows an error rather than a zero.
- Fix: select the retry button. If it persists, check the node's logs and disk space.
Blocked is zero but the application is in detect mode
- Cause: detect mode logs; it does not block. Look at Would be blocked (detect).
- Fix: review the would-block events, then switch the application to block.