Learn

Request log

Request log

The request log shows every request, newest first. Use it to see what was blocked, investigate an attack, or find a false positive.

Filtering

You can filter by:

  • Time: a specific period or custom range
  • What happened: Blocked, Would be blocked, Forwarded, No route, Server errors (5xx)
  • Client: an IP address
  • Host: the host name in the request
  • Route: which route handled it
  • Rule: which rule matched
  • Country: the client's country (needs Client Locations)
  • Status: HTTP status code

Filters are saved in the address bar — bookmark a view or share it.

Live view

Tick Live to see new requests as they arrive.

What is stored

Each request stores: time, client address, country (if known), method, host, path, route, rule or signature matched, action, HTTP status, duration, attack findings and scores. Query strings, headers, cookies and bodies are not stored.

Opening an entry

Click an entry to see its details and take action:

Action What it does
Block address Adds the client to your IP block list (or starts one)
Allow this here Adds an exclusion for a specific finding, field and path — the narrowest possible fix for a false positive
Allow this (false positive) Adds a broader exclusion for a blocked rule or detection kind on a path
Create a route for host Opens the route editor pre-filled for a host with no route
Create a rule for this path Opens the rule editor pre-filled for the request's path
Block this country Adds a rule to block the client's country

Nothing changes until you save.

A request with its actions

Log retention

By default, the log keeps 30 days and 1024 MB, whichever comes first. Change this under Request log → Log retention. On a Raspberry Pi with an SD card, 200 MB is a sensible limit.

Example: finding why a customer's request was blocked

A customer reports they got a "403 Forbidden" on the checkout page.

  1. Open the request log, filter by Blocked and the customer's approximate time.
  2. Find the entry for the checkout path and their address.
  3. Open the entry — it shows the attack finding, e.g. CrossSiteScripting · xss-script-tag · Body 'comment'.
  4. If the customer's input is legitimate (e.g. they wrote <b> in a comment field), click Allow this here on that finding.
  5. The form is pre-filled with the path, field and signature. Review and save.

The customer can now submit their comment. The same attack in any other field on that path is still blocked.