Skip to content

Observability

ConceptExplains how it works and why.

Every request produces one telemetry event, fanned out asynchronously to the request inspector, the analytics rollups and the access log. None of it runs on the request path; the bus is bounded and reports drops in /metrics. To connect Prometheus, Grafana or your own log and tracing tools, start from Grafana and other tools.

In Apinx Cloud: send traces, metrics and logs to Grafana or your own tool

Follow the step-by-step guide with screenshots, Traces, metrics and logs in your own tool: where the settings are, what to fill in, a ready collector configuration for Prometheus, Tempo and Loki, the queries to run and a ready Grafana dashboard. This page is the reference behind it.

The request inspector (Traffic)

Analyze → Traffic lists recent requests live, with filters by API, operation, application, status, method, path and error code. Open one:

  • Tiles for status, total time, backend time, gateway time and sizes.
  • The flow of every request and response policy with the backend call; select a step for its decision and duration.
  • A timeline with a time axis.
  • Request and response headers and bodies, JSON pretty-printed, gzip decoded for display, credentials redacted: in headers by name, and inside bodies by field name (password, token, card, …) and by shape (bearer tokens, JWTs).
  • A cURL command to send the same request again.

Tracing can be switched off by an administrator to keep no headers, query or bodies (about 15% less gateway CPU per request); Debug 15 min keeps request and response bodies for a window and switches itself off. Headers in a trace (Admin › Observability) says what the inspector shows of request headers and of response headers, each on its own: everything with credentials redacted, the first 5 characters of every value, or nothing (request_headers and response_headers on PUT /api/v1/settings/inspector).

Tracing in Apinx Cloud

What a trace shows in Apinx Cloud is fixed by policy, not a setting:

  • Headers: the first 5 characters of every value, whatever the header is called (Beare…, appli…): enough to tell what kind of value it was, never the value.
  • Responses: the status code and its name, nothing else. Apinx Cloud never stores what your backend answers, in a trace or anywhere else. (The one exception is a response cache you add to an API yourself: it holds responses in memory until they expire.)
  • Request bodies: not kept, unless an administrator starts tracing with request bodies. Then the first 1,000 characters of each request body are kept, text bodies only, with passwords, tokens, keys and card numbers masked, in memory for 15 minutes. The audit log records who started it.

Tracing is off until an editor or administrator of the organization starts it with Trace 2 min on the Traffic page; a window with request bodies is an administrator's to start. Admin › Observability shows whether tracing is on and the time left, and viewers see the same. It then records each request's route, policy decisions, backend attempts and timings, the query with credentials masked and the headers as above, for two minutes, and switches itself off; a window started with bodies keeps them, the next one does not unless asked again. Traces stay in memory for 15 minutes and are never written to disk. Analytics and usage count every request whether tracing is on or off, and a Send test request from the console is always traced, so you can read its trace at any time.

Send test request on an API or an operation calls through the real gateway and shows the answer next to its trace.

What needs attention

The Overview's Needs attention card is for the person who opens the console every few weeks: over the last 30 days (or 7), the calls that were refused or failed, grouped by what they tell you about your API:

Kind Means
Without valid credentials No key or token, or a bad one: a client without its key, an expired token, or someone guessing
Refused by access rules Addresses outside the allowed sources, missing scopes, subscriptions not active
Unknown routes Paths the API does not have: a client on an old version, or a scanner probing
Rate limits and quotas hit Held at a rate limit, a quota or the concurrency cap; many from one application mean a limit too low or a client in a loop
Requests the gateway refused Too large, wrong content type, an invalid body
Backend failures Unreachable, timed out, or answered 5xx
Gateway errors A transform failed, a token for the backend was not obtained
4xx answered by the backend Not found, validation, its own authentication

Each kind shows its count, a bar per day, the applications and operations behind it, and its error codes with their meaning, with links into Analytics and Traffic. Every number is an aggregate from analytics (GET /api/v1/analytics/attention); no request or response is read.

Below the traffic, a Configuration section lists what the published configuration itself shows that is worth a look, before any call is made: operations anyone can call (Look now), no rate limit or a listener without TLS (Worth a look), and smaller things such as a backend reached in the clear or an upstream without a timeout. Each finding says what to do and names the operations, upstreams or listeners to change. The section is left out when there is nothing to say. The findings come from GET /api/v1/gateway/audit, the same rules as apinx gateway audit (see the command line).

Analytics

What is wrong with my APIs

Analyze → Analytics opens with one filter bar that drives the whole page: the period, an API, an operation, an application, a status (a class such as 4xx or an exact status such as 404) and an Apinx error code. Each filter in force shows as a chip that removes it, and Clear filters removes them all and keeps the period. Every call counts here, whatever the access log keeps.

Under the bar, three sections answer which API is in trouble, since when and why.

  • What's wrong now lists every deployed API, worst first, with its state, error rate, p95 and a bar of its calls by speed band. A row opens the API's own dashboard. Under each API are its operations with calls, worst first, by method and path (POST /orders/{id}/pay), with the same states: the endpoint that makes an API slow or failing is named. They are open for an API in trouble and one click away for the others.
  • Health over time is a grid: one row per API, one cell per minute, hour or day (the period decides), coloured by the worse of its errors and its speed. Hover a cell for its numbers; open it to see that API in that slot. Choose an API's name to add a row per operation underneath; a cell of an operation opens the API's dashboard on that operation.
  • Performance shows the share of calls in each speed band over the period, for the APIs the filter bar selects: slow drift is visible before anything fails.

Errors by status

The Errors section shows every 4xx and 5xx of the period by exact status (400, 401, 404, 500…): how many, as a share of all calls, and a chart of them over time. 5xx is always red; the busiest 4xx statuses each have their own colour. Each status says why: the backend answered it itself, or the gateway refused the call, with the Apinx error codes (an API key missing, a rate limit, a body too large). Open a status to see the operations that answered it and its causes; click a status, an operation or a code to filter the whole page to it.

Errors are kept by exact status from 1.2.1 on. Errors recorded before the upgrade keep only their class and show as 4xx or 5xx, "recorded before exact statuses were kept"; they leave the view as the period moves past them. Successful calls stay counted by class.

Speed bands are fixed, the same here and in the access log:

Band A call that takes
Healthy up to 1 s
Good up to 2 s
Needs attention up to 4 s
Slow more than 4 s
State When, over the period
Failing more than 5% of calls answered 5xx
Slow p95 above 2 s
Rejecting more than 20% of calls refused with a 4xx (keys, limits, bad requests)
Healthy none of the above
No traffic no calls
Off the API is switched off

A cell is red when more than 5% of its calls failed, orange when its p95 is above 4 s, amber when its p95 is above 2 s or more than 20% were refused, light green when its p95 is above 1 s, green otherwise. Red is kept for errors: the speed bars use green to orange, so a slow call that succeeded never reads as a failure. A WebSocket session, a server-sent events stream and a gRPC call are timed by the backend's first answer, not by how long the stream stayed open. An API renamed or deleted still shows while its traffic is in the period; an operation renamed or deleted shows by its old name, without a method and path. Calls that matched no route belong to no API: the dashboard below counts them, these sections do not. History from before 1.1.11 is kept; its split between 1 s and 5 s is estimated, exact from the upgrade on.

Applications side by side

A web app and a mobile app on the same API should carry different keys, so each is an application and the application is the channel. The Analytics page lists them for the period you pick, By application: calls and their share, errors and error rate, p99, last seen, sortable by any column. Tick two to four and they are compared side by side: calls and error rate over the period as overlaid lines, then calls, share, errors, p50 and p99, bytes out and their error kinds (credentials, access rules, rate limits, backend) in columns. Calls without an application are listed as (anonymous) and cannot be compared.

Rollups per minute, hour and day by API, operation, application, product, plan, status class and, for errors, exact status, with a latency histogram. Analyze → Analytics shows requests, error rate, p50 and p99 and the errors by status for the environment; each API, product and application has the same dashboard, with the same filter bar, for itself, with its operations by volume (on the Analytics page the API health lists them). A dashboard refreshes itself every 30 seconds for a period of a day or less and every 5 minutes for longer ones; Auto-refresh changes it. The Recent requests list at the bottom comes from the request inspector, which keeps only recent calls; its own method and path boxes search that list alone. Retention is configurable per granularity.

Paths through the catch-all

For a request a catch-all operation (/{rest...}) served, analytics also counts the path, by shape: segments that look like identifiers (numbers, UUIDs, long hexadecimal or mixed tokens) read {id}, {id2}. One row per operation, method and shape holds calls, 4xx and 5xx, the last status and the first and last time seen; the API's Operations tab lists them. Up to 500 shapes are kept per operation, the rest count as *, and a shape not seen for 30 days is pruned. The counting runs on the telemetry bus, not on the request path, and the rows live next to the rollups (GET /api/v1/apis/{id}/catch-all-paths; DELETE clears them).

Periods and time zones

Every dashboard (Analytics, and the Analytics tab of an API, a product or an application) has a Period: Last hour (the default), Today, Last 24 hours, Last 7 days, This month, Last 30 days or Custom with a start and an end. The chosen range is shown under the selector. Buckets are a minute up to three hours, an hour up to 30 days, and a day beyond.

The gateway records every time in UTC. The console shows times in your time zone: the browser's own by default. Click your name at the bottom of the sidebar to open Preferences and choose another; the choice is kept in that browser. The same dialog sets the date format (YYYY-MM-DD by default; DD/MM/YYYY, MM/DD/YYYY, DD-MM-YYYY, DD MMM YYYY or YYYY-DD-MM), the time format (24-hour by default, or 12-hour), and how often the Overview refreshes (every 5 seconds by default, or 10, 30, 60 seconds, or off). The Overview always covers the last two hours. Today and This month begin at midnight in that zone, and a custom range is read in it.

When a period holds no request, the dashboard says when the last one was ("No requests in the last hour. The last one was at 21:50 (UTC+3)") with a button to show a period that includes it; the Overview does the same and links to Analytics.

The gateway map

Analyze → Gateway map: listeners → flow hooks → APIs by family → upstreams and their targets, with the last fifteen minutes of traffic, error rates, lifecycle states and target health. Select a node to see what it connects to.

Access log

One JSON line per request, with sampling and always-log-errors options, to stdout, a file, or straight to a log collector (access_log.sink: stdout, file, tcp, syslog or http). Fields:

time id client_ip method host path status duration_ms bytes_in bytes_out api route upstream
application error_code rejected_by user_agent grpc_status node trace_id aborted

node is the server that served the call (cluster.node, or the host name), there from the first line so that lines collected from several servers can be told apart later.

A response that ended before it was whole is logged like any other, with aborted saying who ended it: client (the caller left a download or closed a stream), backend (it stopped sending), timeout (the route's total timeout passed) or fault (an error inside the gateway, which the server log holds with the same id). status and bytes_out are what went out before the cut, so a caller that takes most of an export and drops the connection leaves a line with the bytes it took. The trace in Traffic shows the same under "Ended early", and apinx_proxy_aborted_total{by} counts them. A gRPC call cut mid-stream has no status of its own: it counts as CANCELLED when the caller left, DEADLINE_EXCEEDED at the timeout and UNAVAILABLE when the backend stopped.

Empty fields are left out of a line. Change access_log.sampling and always_log_errors without a restart: at high volume keep every error and a fraction of the successes (sampling: 0.2 logs one success in five; a line is about 400 bytes, so a million calls a day is 400 MB unsampled and 80 MB sampled, a tenth of that once rotated and compressed). No credential ever appears in a log line.

Sending the log to a collector

With several servers, or one server whose logs should live elsewhere, let the gateway deliver its lines itself: no shipper to install beside it. Pick the sink that matches what you run; every line still carries node, so servers are told apart once they share a destination.

access_log:
  sink: http
  http:
    url: https://seq.example.com/ingest/clef
    format: seq
    # api_key: keep it out of the file; set APINX_ACCESS_LOG_HTTP_API_KEY in the environment

Events arrive in Seq's own format (CLEF): @t is the request time, @l is Warning for a 4xx and Error for a 5xx, the message is {method} {host}{path} {status}, and every field of the line is a property to filter on.

access_log:
  sink: http
  http:
    url: https://loki.example.com/loki/api/v1/push
    format: loki
    labels: [env=prod]              # beside job=apinx and node
    headers: ["X-Scope-OrgID: team-a"]   # a tenant, when Loki is multi-tenant
    compress: true

Query with {job="apinx"} | json | status >= 500. A ready dashboard ships with every release: in Grafana choose Dashboards › New › Import, upload deploy/grafana/apinx-access-log.json and pick your Loki. It shows requests, error rate, 5xx, p99 and rate-limited calls for the period, requests per minute by outcome, p50 and p99, the busiest operations, the errors by status and cause, and the error lines newest first, filtered by node and API.

access_log:
  sink: http
  http:
    url: https://es.example.com/_bulk
    format: elasticsearch
    index: apinx-access             # an index (a data stream also needs a pipeline that sets @timestamp)
    api_key: ApiKey <base64 key>    # the Authorization header, written in full
access_log:
  sink: tcp
  tcp:
    address: collector.internal:5170
    tls: true

Newline-delimited JSON on a socket: Vector's socket source, Fluent Bit's tcp input with Format json, Logstash's tcp input with the json_lines codec. Any HTTP collector that takes NDJSON works too: sink: http with the default format: ndjson.

access_log:
  sink: syslog
  syslog:
    network: tls                     # udp (the default), tcp or tls
    address: syslog.example.com:6514
    facility: local0

RFC 5424 messages, octet-counted on TCP and TLS, the JSON line as the message. The severity follows the status (informational, warning for a 4xx, error for a 5xx), so a syslog server can route errors on its own.

Whatever the sink, a request never waits for the collector. Lines go on a queue (access_log.queue, 10,000 lines by default), one goroutine sends them in batches (http.batch lines, or whatever is waiting after a second), a batch the collector refuses with a 5xx or a connection error is retried twice, and only then given up. The counters say what happened: apinx_accesslog_lines_total (delivered), apinx_accesslog_dropped_total (the queue was full: the collector was away or too slow for too long), apinx_accesslog_failed_total (given up after the retries) and apinx_accesslog_queued (waiting now), on /metrics and on Admin › Observability. A given-up batch logs one warning a minute, not one per batch.

Traces in your own tool (OpenTelemetry)

The gateway can export one span per request to an OpenTelemetry collector over OTLP, so a request's journey shows in the Jaeger, Tempo, Grafana or Datadog you already run, beside your backend's own spans. It is off until the operator names a collector in apinx.yaml:

otel:
  enabled: true
  endpoint: otel.example.com:4317     # grpc (the default); an https:// URL with protocol: http
  sampling: 1                          # the share of traces exported; a sampled traceparent is always kept
  # authorization: when the collector wants one, set APINX_OTEL_AUTHORIZATION (a bare token is sent as Bearer <token>)

What a span carries: the method and the route as its name (GET orders-get-order), the status, API, route, upstream, application, error code and cache outcome as attributes, every policy step and every backend attempt as events, and an error status on a 5xx. A traceparent the client sends becomes the span's parent, and the backend and every service callout receive the span's own traceparent, so their spans hang under the gateway's. While the export is on, every access log line carries the request's trace_id, so a line and a trace name the same request; with it off, a line carries the trace_id of the traceparent the client sent, when it sent one.

otel.metrics: true additionally sends the Prometheus metrics over OTLP every otel.interval, for a collector that takes them (an OpenTelemetry Collector, Grafana Cloud); Jaeger and Tempo do not, and /metrics serves Prometheus either way. A collector that is away costs retries in the background and a warning per failed export, never a request.

In Apinx Cloud: your own collector

The steps, with screenshots, are in Traces, metrics and logs in your own tool; this section is what each part does.

In Apinx Cloud the otel settings above are not used for organizations: each organization names its own collector, under Admin › Observability › Traces in your own tool, on the Enterprise plan. An administrator or an editor turns the export on and sets the protocol (gRPC or HTTP), the collector's public address (otel.example.com:4317, or https://otel.example.com:4318 for HTTP), an Authorization value when the collector wants one (a token on its own is sent as Bearer <token>; write Basic … or another scheme in full; stored encrypted, never shown again), up to eight extra headers (a tenant header such as X-Scope-OrgID) and the sampling share; a viewer sees the settings and changes nothing. Every change is in the audit log under the name of whoever made it. The card shows whether the exporter runs, how many spans it sent and the last error.

What your tool receives is yours alone: the spans of your organization's requests, named by your APIs, operations, backends and applications, with the resource service.name=apinx and apinx.organization=<your slug>. Nothing of the platform is in them: no server name, version, address or any other organization's data. The collector must be reachable from the internet over TLS: private, loopback and link-local addresses, and the platform's own hosts, are refused when saved and again when the connection is made. Each organization's exporter holds at most 512 spans waiting; a collector that is away loses what does not fit and never delays a request. A change of the settings applies at once on the server that saved it and, on every other Apinx server, within a minute to a running exporter; an organization that is idle there gets the new settings when its next request wakes it, and an exporter paused because the collector kept failing gets them at its hourly retry.

Metrics in your own tool

Below the export settings, Send metrics (off until you turn it on, and usable only while the export is on) sends your organization's request metrics to the same collector, with the same protocol, address, Authorization and headers. Three metrics are sent, once a minute, as running totals (cumulative):

Metric sent Name in Prometheus, after an OpenTelemetry Collector What it counts
apinx.requests apinx_requests_total calls, by status class
apinx.errors apinx_errors_total calls that ended 4xx or 5xx
apinx.request.duration apinx_request_duration_seconds_* (a histogram: _bucket, _sum, _count) how long calls took

Each series carries the labels environment (the environment's name as the console shows it), api, route, application (empty when the caller has none) and, except on the errors metric, status_class (2xx, 3xx, 4xx, 5xx). The resource is the same as the spans': service.name=apinx and apinx.organization=<your slug>. Nothing of the platform's servers (host, node, instance, version, CPU or memory) is sent, and nothing of any other organization.

An organization keeps at most 2,000 series. When that is reached, new traffic is grouped under application="other" (or with api, route and application all other, when that API, route and status class have no series yet) and the card says so. A series with no calls for 24 hours stops being sent; if calls come back, it starts again from zero with a new start time. Only one Apinx server sends your metrics, once a minute, so there is no instance label and no double counting between servers; if that server changes or restarts, the totals start from zero (a counter reset, which rate() and increase() already handle) and a minute can be counted twice or missed. A send that comes late reads the minutes it missed, up to five. When your collector has refused every send for ten minutes, the sends pause for an hour (the card says until when) and the minutes are still added up, so the first send after the pause catches up; a change of the collector's address, protocol, Authorization or headers retries at once. The card shows a metrics line of its own, apart from the traces: the sends since the server started, the time of the last one, the failed sends with the last error, and the minutes skipped because the analytics store could not be read. Sending metrics costs your requests nothing.

Request logs in your own tool

Send request logs (Off until you choose, and usable only while the export is on) sends one OpenTelemetry log line per request to the same collector, for Loki or any log tool. Choose which requests: Sampled (every request answered 4xx or 5xx, and 1 in 100 of the others), Errors only, or Every request.

In the line What it is
The line itself GET /orders/42 401 12.4ms: method, path (never the query string), status, time
Severity INFO under 400, WARN for 4xx, ERROR for 5xx (a gRPC call that failed inside an HTTP 200 counts as its failure)
trace_id the request's trace; with a derived field on the Loki data source, Grafana opens it in Tempo (how)
http.request.method, url.path, server.address, http.response.status_code the request
apinx.environment, apinx.api, apinx.route, apinx.upstream, apinx.application your names for it
apinx.error_code, apinx.rejected_by why Apinx refused or changed the answer, when it did
apinx.duration_ms, apinx.upstream_ms, apinx.bytes_in, apinx.bytes_out, apinx.cache timings, sizes, cache hit or miss
apinx.request_id the X-Request-Id the caller got
client.address, user_agent.original only when Include caller IP and user agent is ticked (off by default: personal data); the address is the caller's as the platform's proxy received it

The resource is the same as the spans': service.name=apinx and apinx.organization=<your slug>. Never sent: query strings, request or response bodies, headers, cookies, tokens, anything about Apinx's servers or any other organization. Loki keeps service.name as the label service_name and the other fields as structured metadata, with dots written as underscores (apinx_route).

Every Apinx server sends the lines of the requests it served, in compressed batches of up to 512 or every 5 seconds. A line is about 600 bytes, about 80 once compressed; in Sampled mode an organization with 5 million calls a day and 2 % errors sends about 150,000 lines, about 12 MB a day. Each organization's queue holds 4,096 lines on each server and takes at most 2,000 a second; lines past either are dropped and counted, never waited for. A collector that refuses every send for ten minutes (failures with no gap of more than two minutes between them) is paused for an hour, as for metrics; a change of its address, protocol, token or headers retries at once. The card shows a request-log line of its own: lines sent, lines dropped, failed sends with the last error, and a pause. Sending logs costs your requests nothing: the line is made from the request's record after the answer has gone.

Metrics

GET /metrics on the console port, Prometheus format: requests and latency per route, policy decisions, upstream attempts and failures, rejections by code, cache hits, configuration revision, telemetry queues and drops per sink, analytics flushes, access log counters. The per-route series are bounded: the first 2,000 operations a process serves get their own, later ones are counted under the route other, so /metrics stays the same size however many APIs are published; the Analytics page keeps every operation.

Every listening socket adds its connections, by listener: apinx_listener_connections open now, apinx_listener_connections_max (its max_connections; absent when unbounded), and the counters apinx_listener_accepted_total, apinx_listener_full_total and apinx_listener_full_seconds_total (how often and how long the bound was reached) and apinx_listener_accept_errors_total (accepts that failed, such as too many open files).

Health

Endpoint Meaning
/healthz The process is up
/readyz Every component started and the store answers; 503 names the failing check without exposing connection details

A store outage does not affect traffic: deployed APIs keep serving, and the console explains the state and retries on its own.

The Overview's Components card is the same picture for people: the store and the analytics database with their ping latency, the gateway (routes, listeners, requests in flight), secrets at rest, the sign-in provider, the demo backend when it is on, and the Redis that shares rate limits and quotas across instances (or that it is not configured). Below it, every running instance: version, the revision it runs, which one leads the background jobs and its last heartbeat. One instance in the default set-up; every instance in high availability. Each row has a colour and a word, so the state never depends on the colour alone.

Capacity

Admin › About › Capacity answers one question: is the server turning connections away? Administrators see it; it sits below the Components card. Every 10 seconds the instance reads counters that already exist (its own sockets, the Linux kernel's, the network card's, and nginx's when you point it there) and keeps 15 minutes at that step and 24 hours by the minute, in memory. Reading them costs the requests nothing.

Group Measure When it is not ok
Apinx gateway Open connections, against max_connections dropping when a listener reached its bound in the last 10 minutes (new callers wait in the kernel's queue, then are dropped); warning over 80%
Failed accepts dropping when an accept failed, most often for too many open files (LimitNOFILE in the unit)
Requests in flight, WebSocket sessions for context
Open files, against the process's limit warning over 80%
Linux kernel Connections dropped by the kernel dropping when the accept queue of nginx or the gateway overflowed
SYN cookies sent warning: a burst or a SYN flood filled the queue of half-open connections
TCP connections established, and how many wait to close (TIME_WAIT)
Firewall connection table warning over 80% of nf_conntrack_max; dropping when full
Network Network in, network out warning over 80% of the network speed
Packets lost on arrival dropping: a CPU's input queue or the card's buffer overflowed
Packets sent again warning past 2% of TCP segments over 10 minutes, with traffic enough to tell
Frames the card ignored never alarms: the card's "dropped" count is mostly other machines' broadcast traffic, not your callers
nginx nginx connections warning over 80% of capacity.nginx_max_connections
Connections nginx dropped dropping: nginx accepted connections it could not handle (worker_connections or its open-files limit)

Each row shows the value now, the peak or the total over 24 hours, and a trend for the last 15 minutes or 24 hours. Every state is a word as well as a colour. Below the rows: every listening socket with its open connections, how often it reached its bound and its failed accepts, and in high availability every instance, whose numbers come with its heartbeat.

While the instance is dropping, every console page shows a banner that names the measures. A measure that turns dropping or warning is also logged as a warning (capacity: … in journalctl -u apinx), once an hour at most while it lasts. The same data is GET /api/v1/system/capacity (administrators).

Watching nginx. Give nginx a status page on the loopback and tell Apinx where it is:

server {
    listen 127.0.0.1:8099;
    access_log off;
    location = /nginx_status { stub_status; }
    location / { return 404; }
}
capacity:
  nginx_status_url: "http://127.0.0.1:8099/nginx_status"
  nginx_max_connections: 8192   # worker_connections x worker_processes
  link_mbps: 1000               # when the network card reports no speed

The kernel and network rows need Linux; on other systems the card shows the gateway's rows and says so. Cloudflare's own errors (520 to 524) never reach the server: read them in its dashboard.

Audit

Admin → Audit: who changed what and when, with before and after values, filterable and exportable as CSV or JSON. Sign-ins, failed sign-ins, lockouts and key operations are audited too.