Appearance
Analytics, explorer and dashboards
Problems with the analytics explorer, saved filters and dashboards, enrichment (ASN, city and device data), and the traffic records behind them.
A query is refused (400, or 403 with a message)
- Symptom: the query bar shows a red span, or
waap analytics(or-q) exits 1 with a message such as "unknown fieldpathhat 0; did you meanpath?", "field X is not available for events", "field not available to your role: user", "a histogram needs a score field", "bucket must be 1m, 5m, ...", or a limit message ("more than 32 tests", "expression longer than 2048 bytes", "range longer than ..."). - Cause: the filter breaks the grammar or a limit. The limits are 2,048 bytes, 256 tokens, 32 comparisons, depth 8, 50 values in
in, 512 bytes per value, and 200 values in all. Or the field does not exist, or exists only for the other source. For example,severityandvariableare event fields, andserver.statusis a traffic field. Or a value has the wrong type (a word for a number, or an enum value outside its list). Or the range is longer than the source allows: traffic up to its retention and at most 31 days, events up to 90 days. Or the account is aviewer, and the field isquery,useroridentity. - Check:
waap analytics validate -q '...'shows the position.waap analytics fields -source eventslists the fields of that source. The role matters, so run it as the same account. - Fix: correct the text. Split a long filter, using
in (...)for many values. Switch the source, shorten the range, or ask for the operator role when you need a field that is hidden from viewers.
429 "analytics busy" or "request budget used up"
- Symptom: the page shows "try again shortly". The CLI exits 1 with 429 and a retry time. Or part of a dashboard shows an error while the other widgets load.
- Cause: a node runs two analytics queries at once, keeps eight waiting, and refuses more. Each user may make 60 analytics requests a minute. A page or dashboard load is one batch, and therefore one request. A filter-panel or drawer lookup is one request too. Answers reused from the cache within
cache_ttl(30 s) are free. A batch that reads over 1,000,000 rows is cut off. Over budget, a batch still returns its cached answers and marks the rest 429. Before 2026-11-15, a batch counted each of its queries, so one Analytics tab (about 14 queries) used a quarter of the budget. - Check: how many dashboards are open with auto-refresh at 1 minute.
waap_analytics_queries_total{result="busy"}on the node's metrics (queries are not in the audit log). The Retry-After value in the answer.waap settings get analyticsshows the current limits. - Fix: wait for the retry time. Lengthen auto-refresh to 5 or 15 minutes, use fewer widgets per dashboard, or narrow the range. If the node has spare cores, raise
analytics.max_concurrent,max_queuedorper_user_per_minute, or lengthencache_ttlso repeat views are reused longer. For example:waap settings set analytics max_concurrent=4(applied to the next query).
504 "query timed out: narrow the time range or the filter"
- Symptom: a query fails after about 5 seconds (15 for a batch).
- Cause: the filter reads many rows with no usable index. A
~contains test over a large range is the slowest. Or the node is busy writing. - Check: the same query over a shorter range. The query kind matters: top and series over a wide range are the most expensive. Check
waap_traffic_records_dropped_totalif the disk is slow. - Fix: shorten the range. Put an equality test on
app,hostorstatusfirst, and use^=instead of~where it fits. Loweringanalytics.sample_above_rowsmakes wide queries read a smaller sample, which is faster but estimated. Raisinganalytics.query_timeout(at most 60 s) lets them run longer.
Counts show "approx", "≈" or "Estimated from a sample"
- Expected: a query reads at most
analytics.max_scan_rows(default 250,000) rows. It samples when its estimate is aboveanalytics.sample_above_rows(default the same value). Above that, it reads a fixed fraction of the rows and scales the result up ("Estimated from a N % sample"). Long unfiltered top-values come from the hourly rollup, which keeps 200 values per field per hour, so a count is an upper bound when more values than that were seen. "Truncated" means the row limit was reached. - Check: the range and the filter, and whether the application filter is set.
- Fix: for exact numbers, narrow the range or add a filter. For one value, use
waap analytics count -q 'field = value'.
A field is "not available for traffic" (or events)
- Symptom: "field X is not available for events".
- Cause: some fields exist on one source only. Event-only fields are
severity,variable,tagandstaged. Traffic records carry the pool, timing and enrichment fields. Cards on an event-only field can be copied, but not filtered on the Analytics page, because the page filter also runs on traffic. - Check:
waap analytics fields -source trafficandwaap analytics fields -source events. - Fix: run the query against the other source, or use a field that both share, such as
rule,moduleoraction.
"field X cannot be grouped" on the Analytics page
- Symptom: the Traffic tab of Analytics shows a red "field query cannot be grouped" (or
requested_with) in place of the Query strings or X-Requested-With card. This is seen by administrators and operators. - Cause: a build from 2026-11-15 asked for top values of two fields that the catalogue did not yet allow to be grouped. Both are groupable now, and the page leaves out any card whose field cannot be grouped.
- Check:
waap analytics fields -source trafficlistsgroupableper field. Checkwaap analytics top -by query. - Fix: update the control plane and the web UI together. They ship in one binary.
A rule on client.asn, tls.ja3 or another network variable never matches
- Symptom: a custom rule such as
client.asn == 64666ortls.ja4 == "..."logs nothing, although Traffic shows matching requests. - Cause:
client.asnis 0 when no ASN database is set (enrichment.asn_database), or when the inspection node cannot open its copy (logged as "ASN database could not be opened").tls.*fields are empty on plain HTTP listeners.tls.versionis empty when the data plane did not report it. The expression may compare with the wrong case:tls.sniandrequest.referer_hostare lower case, and JA3, JA4 and JA4H are as shown in Traffic. Or the application, or the access module, is in detect mode, so the rule logs and does not block. - Check:
waap geoip statuson the inspection node. Check the same field withwaap analytics top -by client.asnor-by tls.ja4.waap analytics to-rule -q 'client.asn = 64666'shows the expression the filter becomes. - Fix: set the ASN database on every node. Use the drafted expression. Switch to block mode only after Events show the matches you expect.
Sampled requests show "Not inspected" or "Not scored" instead of scores
- Symptom: on the Analytics page, many rows of sampled requests have no "Attack: ..." or "Automation: ..." badge. They show only "Not inspected" or "Not scored".
- Cause: "Not inspected" means the record is partial with
missing: inspection. The data plane answered alone, usually because no application matches the request's host (Envoy's 404 for an unknown host, and the record has no application), or because inspection's half was lost. Such requests never reach the modules, so they have no scores. This is expected, not a fault. "Not scored" means inspection ran, but no module scored the request. An earlier module (an address list, a rate limit or a bot challenge) stopped it before the signatures ran, the signatures were off, or inspection failed under the failure policy. - Check:
waap analytics top -by app -q 'partial = true'(an empty application means an unknown host).waap analytics top -by attack.classshowsnonefor unscored requests. Open the record's trace. - Fix: add the host to an application, or ignore scanners that hit unknown hosts. Filter
app existsorpartial = falseon the page to hide them.
AS numbers show without organisation names
- Symptom: the ASN card and the Request section show "13335" instead of "13335 – Cloudflare, Inc.".
- Cause: the organisation is recorded per request at ingest, from the ASN database. Requests stored while no ASN database was loaded (or with one that lacks the name) have none. When counts come from the hourly rollups (no filter, two hours or more), the name is taken from the newest request of that AS in the range. If none of them has a name, none is shown.
- Check:
waap geoip status(is the ASN database loaded?), andwaap analytics top -by client.as_org. - Fix: set
enrichment.asn_database. New requests get names. Older ones keep only the number.
"Open related security events" shows no event
- Symptom: the Events page opened from a sampled request is empty.
- Cause: the event store keeps events for the retention set there, which may be shorter than the traffic log's. Or the event is on a node your view does not reach yet, because events replicate.
- Check:
waap events list -q 'request.id = <id>'. - Fix: widen the Events time range (the link keeps the page's default range), or wait for replication.
fields= is refused (400) on the Traffic or Events list
- Symptom: "fields: X not columns of traffic", "field user is not available to the viewer role", or "more than 64 columns".
- Cause: a name outside the field catalogue, a name from the other source (for example
server.poolon events), a field hidden from viewers, or more than 64 names. - Check:
waap analytics fields -source traffic(orevents). - Fix: use catalogue names, and
requestfor the full request. Leavefieldsout to get full records.
Analytics settings are refused
- Symptom:
waap settings set analytics ...or the Analytics settings form says a value is out of range, "below the rows per query", "above the rows per query" or "below the time per query". - Cause: every limit has a hard bound.
max_batch_rowsmust be at leastmax_scan_rows,sample_above_rowsmust be at mostmax_scan_rows, andbatch_timeoutmust be at leastquery_timeout. - Fix: change the related values together. For example:
waap settings set analytics max_scan_rows=2000000 max_batch_rows=8000000.
The Events page shows only "Something went wrong!"
- Symptom: opening Events (or the Traffic log) replaces the whole console, menu included, with "Something went wrong!". "Show Error" reads
Cannot read properties of null (reading 'map'). - Cause: before a fix on 2026-11-15, a time series over no matching records (for example on a new node with no events in the range) answered
"series": null, and the outcome chart above the table could not draw it. - Check:
POST /v1/analytics/querywith{"source":"events","kind":"series","split":"action"}. A fixed control plane answers"series": []when nothing matches. - Fix: upgrade the control plane. Until then, widen the time range, or pick a range that holds at least one record, then reload.
Client identity sources show "Must be required." under fields of another kind
- Symptom: on an application's Client identity page, a consumer, user or IP source also shows Claim, Name and Trusted from, each marked "Must be required."
- Cause: before a fix on 2026-11-15, the list editors drew every field, including those that belong only to another kind (claim for
jwt_claim, name for cookie and header, trusted from for header). Saving was not affected, because the hidden fields were never checked or sent. - Fix: upgrade the control plane. The source then shows only the fields of its kind.
Enrichment fields are empty (ASN, city, device, browser)
- Symptom:
client.asn,client.cityand similar fields are empty, or cards show no values. - Cause: no database file is configured, or it failed to load.
enrichment.enabledis false. The records are older than the setup (there is no backfill). Or the address is private or not in the free data. Device, browser and OS stay empty when the request has no user agent. - Check:
waap geoip status(path, whether it loaded, and enrichment on or off), andwaap settings get enrichment. Make a new request from a public address, and read its traffic record. - Fix: run
waap geoip update --asn -out FILEand--city -out FILE. Setenrichment.asn_databaseandenrichment.city_databaseto absolute paths, present on every node. Each node reloads within about a minute. Then enable enrichment. Old records stay empty.
waap geoip update fails ("not published", download errors)
- Symptom: "... not published", "downloading ...", "database larger than ...", or a check failure.
- Cause: the vendor publishes one file a month, so right after a month starts the new file may be missing. The command may have no outbound access to download.db-ip.com. A proxy may return a web page. Or there is a disk or permission problem on the output path.
- Check:
curl -I https://download.db-ip.com/free/dbip-asn-lite-$(date +%Y-%m).mmdb.gz. Check write permission and free space in the directory of-out. Run the command from a host with internet access. - Fix: retry later. Or download elsewhere and copy the file, or use
-urlto point at a mirror. The old file stays in use until a new one passes its check, and the replacement is atomic.
Attack score is "none" or always 1
- Symptom: records show attack class
none, or every request isclean(score 1). - Cause:
nonemeans the signature module did not score the request. It is off, an allow ortrustrule skipped it, it failed, or its time budget ended. Records from before the upgrade have no score. Score 1 means no scoring rule matched, which is a clean request. A different threshold moves the bands. - Check: the traffic record's attack panel and trace,
waap apps get -app NAME(the signatures mode and the anomaly threshold), and Events for a failure of the module. - Fix: turn the signatures on, and review the allow rules that skip them. Compare scores only across applications with the same threshold.
JA3, JA4 or JA4H are empty
- Symptom:
tls.ja3,tls.ja4orhttp.ja4hhave no value. - Cause: the request was plain HTTP, so there was no TLS handshake to fingerprint. Or the record is from before the upgrade, or the listener has not received the new configuration yet.
http.ja4his filled only when the bot module ran for the request. - Check:
waap traffic show IDfor the scheme,waap_xds_in_sync(must be 1), and a querytls.ja4 existsover the last 15 minutes. - Fix: none for HTTP. Make sure the current version is active and Envoy accepted it. Turn on bot mitigation for the application if you need JA4H.
A dashboard or saved filter cannot be saved: 409 or 428
- Symptom: "version changed" (409), or "If-Match with the version you read is required" (428). The CLI shows the same.
- Cause: 409 means someone saved the item after you opened it. 428 means a script sent a change without a version.
- Check:
waap dashboards show IDfor the currentversion. - Fix: reload, re-apply your change, and save. In scripts, send
If-Match: <version>. The CLI reads the version itself, unless you give-version N.
Traffic or Events list with a filter answers 429, 504 or 400 "max_range"
- Symptom: the Traffic or Events list, the event groups, the overview or an export fails once a filter (
q=) is set. The answer is 429 "analytics request budget used up" or "analytics busy" (withRetry-After), 504 "query timed out", or 400 "a q filter reads at most ... (analytics max_range_...)". Without the filter, the same list works. - Cause: a read with
qruns under the analytics limits: the per-user budget (per_user_per_minute, shared with analytics and dashboards), the node'smax_concurrentandmax_queued,query_timeout(batch_timeoutfor exports and statistics), andmax_range_trafficormax_range_events. - Check:
waap settings get analytics, and the counterwaap_analytics_queries_total{result="busy"}or{result="timeout"}on that node. Check thesinceanduntilvalues you sent. - Fix: wait for
Retry-After. Narrow the time range, or make the filter more selective with anapp,timeorruletest. Givesinceanduntilinside the maximum range. On nodes with spare capacity, raiseper_user_per_minute,max_concurrentorquery_timeout.
A viewer's filter is refused: "operator ... is not available to your role"
- Symptom: a viewer's filter, such as
path ~ adminorpath ^= /api/, answers 403 with "its values are masked for you". The same filter works for an operator. - Cause: on fields masked for viewers (
path), a viewer may use only=,inandexists. This stops filters from revealing masked values piece by piece. - Check:
GET /v1/analytics/fields(fields with"masked": true), and the account's role withwaap accounts list. - Fix: use a whole value (
path = /api/orders) or a list (path in (/a, /b)). Or filter on an unmasked field, such asapi.endpointorhost. Or ask an operator.
A viewer cannot share a dashboard or filter
- Symptom: saving as shared is refused (403), or the Shared choice is not offered.
- Cause: shared items need the operator role with access to every application, or the administrator role. Viewers and scoped operators keep their items private.
- Check:
waap accounts list, for the role and application scope. - Fix: the viewer exports the item, and an operator imports it with visibility set to shared. Or the role changes.
Learned volume is not learning (only "learning", or no endpoints)
- Symptom:
waap api volume listshows endpoints aslearningfor days, or shows none at all. - Cause: a cold start. An endpoint needs
volume_baseline.min_samplesclient-windows (default 1,000, at least 10) over the learning period (default 7 days), so a quiet endpoint may never get there. Learning may be off (volume_baseline.enabled=false), or API protection may be off for the application. The window may have changed, and rows counted with another window are ignored. Only answered requests count, and a restart loses the open window. - Check:
waap api get -app NAME(thevolume_baselinekeys),waap api volume list -app NAME -jsonfor the number of samples, and that traffic reaches the endpoint under the same template. - Fix: wait, lower
min_samplesorlearning_period, or write a limit by hand (waap api list set -list volume_baselines). If a limit is too tight for bursts, raisefactororfloor, or reject the endpoint. Nothing blocks by default, becauseactionislog.
Script watch refuses a page or script
- Symptom:
waap scripts check, or the Scripts tab, shows an error for a page or script: "destination refused", "redirect not followed", "more than 3 redirects", too large, or timed out. - Cause: pages are fetched from the application's own server pool, and a redirect on a page is never followed. Scripts on other hosts go through the outbound guard, which refuses private, loopback, link-local and metadata addresses, including after a redirect or a changed DNS answer. A script is limited to 2 MiB and 10 s. The watch is limited to 20 pages, 100 scripts per page and 500 per application, and a check to 2 minutes.
- Check:
curl -Iof the page path through the pool. Resolve the script host from the node. Read the error text inwaap scripts list. - Fix: list the final path of the page (after the redirect). Serve third-party scripts from a public address. For your own scripts, use one of the application's own host names. Bundles over 2 MiB are not hashed.
No script.new or script.changed events
- Symptom: a script changed, and no event appeared.
- Cause: the first check of an application only records the scripts (a baseline). The hash is in
known_good. The alert is off (watch.alert_new,watch.alert_changed). Only a query string changed, so the body and the hash are the same. Or the interval has not passed. - Check:
waap scripts history -app NAME -url URL, andwaap scripts settings get -app NAME. - Fix: run
waap scripts check -app NAME. Remove the hash fromknown_goodif it was added by mistake.
No rate-limit suggestions
- Symptom:
waap ratelimit suggestions runlists nothing, or paths appear under "skipped". - Cause: a path needs at least 5 distinct clients and 50 client-minutes in the window. Traffic logging may be
offorsample. The window may be short. Verified bots are excluded. The read may have hit its bound (the window was shortened, and the run says so). Or the traffic went to another node, since the log is per node. - Check:
waap settings get trafficformode,waap analytics count -q 'app = NAME'for the records in the window, and which node the command talked to. - Fix: set traffic mode to
all, and run again with a longer-window(up to 7d). Or run it on the node that serves the application. With very few clients, no limit is safe, so the run keeps the threshold above the heaviest client on purpose, to avoid false positives first.
Writer throughput drops, records are dropped
- Symptom:
waap_traffic_records_dropped_totalrises, or the traffic log lags, after an upgrade or after turning enrichment on. - Cause: enrichment, the hourly rollups and wider rows cost more per record. A slow disk, or heavy analytics at the same time, can fill the write queue. Requests are never delayed. Records are dropped.
- Check: the drop counter and
waap_traffic_joiner_entries, CPU and disk wait on the node, and whether dashboards refresh in bursts (two analytics queries run at once per node). - Fix: put the data directory on faster storage. Run
waap settings set enrichment enabled=falseto compare. Set the trafficmodetosample, or lengthen the dashboard refresh times. Report sustained drops with the figures.