Skip to content

Analytics Since v0.2 ​

Traffic, Events and the Analytics page share one filter language, one field catalogue and one set of limits. The Analytics page turns a filter and a time range into charts, top-value cards and a list of sample requests, so you can see what is happening and then act on it: add a rule, open an event, or ask the analyst.

What it is made of ​

PartWhat you do
The explorerFilter the Traffic and Events lists with the field panel, the query bar and saved filters.
DashboardsBuild pages of widgets from a filter and share them.
Attack and automation scoresSort requests by how strongly they look like attacks or bots, and use scores in rules.
Fingerprints and enrichmentAdd TLS fingerprints, network, place and device data to records.
Settings, limits and scopeBound the cost of queries; what viewers may filter; behaviour in a pair.
Endpoint insightsAuthentication posture, learned request volume, script watch and rate-limit suggestions.

The Analytics page ​

Three tabs share one filter, one time range and one application filter: Traffic, Attacks and Bots (addresses /analytics, /analytics/attacks, /analytics/bots).

text
1. Open Monitor > Analytics.
2. Choose the tab, the time range and, if needed, the application.
3. Add a filter in the query bar or with Add filter.
sh
waap analytics top -by client.asn -q 'outcome = blocked' -since 7d -n 20
waap analytics series -by attack.class -source events -bucket 1h
text
POST /v1/analytics/query
POST /v1/analytics/batch

The time range starts at the last 24 hours. The presets go from 15 minutes to 30 days, or you type a custom span. There is no "Any time": an aggregate always covers a bounded range. A view you saw in the last 30 seconds is reused from the browser and from the server's answer cache (analytics.cache_ttl), so moving around does not use up the per-minute request budget.

Suspicious activity ​

Above the chart on every tab, one card appears per rule that found requests in the range. Rules with nothing to show are hidden, and so is the section when none found any. Each card gives a severity (Moderate or Low), the related request count, the time span and three actions:

  • Filter requests adds the rule's filter to the page filter.
  • Ask the Analyst opens the analyst with a question naming the rule and its filter, ready to edit and send. Nothing is sent by itself.
  • Dismiss hides the card in this browser. A link on the section brings the dismissed cards back.

The section header collapses the cards; both choices are kept per browser.

CardSeverityFilter
Requests scored as attacks were not blockedModerateattack.score >= 75 and action != block
Likely attacks were not blockedLowattack.score >= 50 and attack.score <= 74 and action != block
Likely attacks answered with a server errorModerateattack.score >= 50 and server.status >= 500
Likely automated traffic on login pathsModerateautomation.score >= 50 and (path ~ login or path ~ signin) and action != block
Requests block mode would have stoppedLowwould_block = true and action != block
Clients with many blocked requestsLowaction = block, client addresses with 20 or more

The rules run with the page filter, in the same request as the rest of the tab. A rule that needs a field your role cannot use is left out.

Charts, top values and sampled requests ​

  • Main chart. Traffic: requests per bucket by outcome. Attacks: by action. Bots: by automation class. Drag across the chart to zoom into a range. Buckets are chosen so that a chart has at most 360 points.
  • Score histograms (Attacks and Bots) count requests in the bands 1-49, 50-74 and 75-99. The sub-score cards count requests with a sub-score of 50 or more.
  • Top values cards show the top five values of a field with a bar and a count. Expand shows the top 100 with a search box. Each row has Filter, Exclude and Copy. The info tooltip says which store the card reads. Cards on event-only fields (module, matched variable) can be copied but not filtered, because the page filter also runs on traffic. Show fewer statistics keeps the first eight cards; the choice is kept per browser. Values are labelled for reading (country codes as names, statuses with their text, AS numbers with the organisation), and the raw value is in the tooltip.
  • Sampled requests lists the requests under the same filter and range, 25 at a time. Load more adds 25, up to 1,000. Order switches between newest and oldest first.

The Scores column shows "Attack: yes / likely / unlikely / not" and "Automation: bot / likely bot / human / verified bot". "Not inspected" means the data plane answered alone (no application matched the host, or inspection's half was lost). "Not scored" means no module scored the request, for example because it was stopped before the signatures ran.

The arrow of a row opens three sections:

  • Response: the outcome, action and mode, the deciding module and rule IDs, response and server status, content type, pool and pool member, duration and inspection time. It links to the related security events, to Trace this request (operators; see Trace a request) and to the full record.
  • Analyses: attack score and each sub-score, automation score and class, detection IDs, verified bot, bot category and name, challenge token state, JA3, JA4 and JA4H, plus API endpoint, specification and risk label, inspection error, partial record and masking.
  • Request: client IP, country, ASN with organisation, city, region, device, browser, operating system, user agent, referer, method, HTTP version, scheme, TLS version, host, path, query string and application.

Each value has Filter, Exclude and Copy. Values come from the server as your role may see them: masked for viewers and for applications that mask logs, and fields your role cannot use are left out. The footer carries the "IP data by DB-IP.com" attribution.

Sampled and approximate answers ​

A query reads at most 250,000 rows. When a broad filter over a long range would read more, the database is asked for a fixed fraction of the rows and the counts are scaled up. The answer then says "Estimated from a N % sample", and the counts are approximate.

A count marked with a "≈" comes from the hourly top-values rollup, which keeps the 200 most common values per field per hour. When more values than that were seen, a count is an upper bound. "Truncated" means the row limit was reached. For exact numbers, narrow the time range or add a filter.

Where the data comes from ​

Traffic analytics read this node's traffic log, so they cover only what traffic logging kept (with mode sample, the sampled records). Events analytics read the event store. Queries use a read-only connection, so heavy queries do not slow logging.

Modes and roles ​

Every role may read analytics for the applications it can see. A viewer cannot filter by fields that hold names or free text. For details, see Settings, limits and scope.