Audit.qs Version Compatibility
Butler SOS and Audit.qs are released independently. Butler SOS therefore keeps a compatibility matrix so it can detect incompatible Audit.qs versions before accepting or processing events.
This page documents that compatibility behavior for both connection tests and live event ingestion.
Applies to Butler SOS 15.0.0 and later.
How Version Detection Works
Audit.qs sends its version to Butler SOS using the X-Audit-QS-Version header. For audit event ingestion, Butler SOS can also fall back to the version embedded in the event envelope.
Butler SOS compares that version to its internal compatibility matrix and responds accordingly.
If multiple X-Audit-QS-Version header values are received, Butler SOS normalizes them to a single value before compatibility evaluation.
GET /api/v1/test-connection
When Audit.qs runs its connection test, Butler SOS can evaluate compatibility immediately.
If version metadata is included, the response may include these fields:
| Field | Type | Meaning |
|---|---|---|
butlerSosVersion | string | Running Butler SOS version |
auditQsVersion | string or null | Audit.qs version received from the client |
compatible | boolean | Whether the two versions are considered compatible |
If the versions are incompatible, Audit.qs can warn the user even though the endpoint itself is reachable.
POST /api/v1/audit-event
Butler SOS checks version compatibility before processing an incoming audit event.
Behavior:
- Compatible version: event is accepted and processed normally
- Incompatible version: event is dropped with
422 Unprocessable Content - No version provided: Butler SOS accepts the event for backward compatibility, but logs a warning recommending an upgrade
This means not every 422 is a payload validation error. Some 422 responses are caused by version incompatibility.
When Version Metadata Is Missing
Older or misconfigured Audit.qs clients may omit X-Audit-QS-Version.
Butler SOS accepts those events for backward compatibility, but it also records the missing version information in the logs:
- each missing-version event can be logged at
debuglevel for per-event troubleshooting warnmessages are rate-limited to once per source IP per minute- each aggregated warning includes a
missingVersionCountcounter so operators can see the volume of affected events
This keeps missing-version events visible without flooding the logs in high-volume environments.
Compatibility Matrix
Changed in 15.1.0 and 15.1.2
Butler SOS 15.1.0 added Audit.qs 0.5.x, and 15.1.2 added Audit.qs 0.6.x. Audit.qs 0.6 sends the same audit events as Audit.qs 0.5; what it adds is support for Qlik Sense May 2026 Patch 3.
| Butler SOS | Accepted Audit.qs versions |
|---|---|
| 15.0.0 | 0.3.x |
| 15.0.1 | 0.3.x, 0.4.x |
| 15.1.0, 15.1.1 | 0.3.x, 0.4.x, 0.5.x |
| 15.1.2 and later 15.x releases | 0.3.x, 0.4.x, 0.5.x, 0.6.x |
Audit.qs 0.7 and later are not accepted by any of these releases. Each new Audit.qs minor version is added to Butler SOS deliberately, once it has been checked against it.
Pre-release builds of Audit.qs (for example 0.6.0-rc.1) are refused even when their version falls inside an accepted range.
Upgrade Order
Upgrade Butler SOS first, then Audit.qs. A Butler SOS release that accepts a new Audit.qs version still accepts the older ones, so once Butler SOS has been upgraded, the new extension can be imported in the QMC whenever it suits you. Importing it replaces the extension for every app at once.
The other order leaves a gap: between the Audit.qs upgrade and the Butler SOS upgrade, every audit event sent by the new Audit.qs is refused and lost. Audit.qs does not keep refused events to send again later.
If you are upgrading from Audit.qs 0.4 or earlier, note that Audit.qs 0.5 and later refuse to send anything to a Butler SOS address that starts with http://, unless Butler SOS runs on the same machine as the browser. Before importing Audit.qs 0.5 or 0.6, make sure the Butler SOS audit events API is served over HTTPS (Butler-SOS.auditEvents.tls.enable: true in the Butler SOS config file) and that the Butler SOS address in the Audit.qs property panel starts with https://.
What a Version Mismatch Looks Like
When Audit.qs 0.6 talks to Butler SOS 15.1.1 or earlier, or Audit.qs 0.5 to Butler SOS 15.0.0 or 15.0.1:
- In Qlik Sense: the Test Connection button in the Audit.qs property panel opens a Version Mismatch Detected dialog that lists both version numbers.
- For every audit event: Butler SOS answers with HTTP status 422 and the reason
Incompatible Audit.qs version, and does not store the event. - In the Butler SOS log: one warning per refused event, and one per connection test.
Audit.qs 0.6 against Butler SOS 15.1.1:
warn: AUDIT API: Dropped audit event from incompatible Audit.qs version type=screenshot.url.received eventId=... ip=10.0.0.12 butlerSosVersion=15.1.1 auditQsVersion=0.6.0 message=Butler SOS 15.1.1 is not compatible with Audit.qs 0.6.0. Compatible Audit.qs versions: >=0.3.0 <0.6.0.warn: AUDIT API: Connection test from incompatible Audit.qs version ip=10.0.0.12 origin=https://qliksense.example.com butlerSosVersion=15.1.1 auditQsVersion=0.6.0 message=Butler SOS 15.1.1 is not compatible with Audit.qs 0.6.0. Compatible Audit.qs versions: >=0.3.0 <0.6.0.Butler SOS 15.1.0 logs the same range as 15.1.1. On older releases the end of the message names a narrower range: Compatible Audit.qs versions: >=0.3.0 <0.5.0. on 15.0.1, and Compatible Audit.qs versions: >=0.3.0 <0.4.0. on 15.0.0.
Audit.qs 0.5 against Butler SOS 15.0.1:
warn: AUDIT API: Dropped audit event from incompatible Audit.qs version type=screenshot.url.received eventId=... ip=10.0.0.12 butlerSosVersion=15.0.1 auditQsVersion=0.5.0 message=Butler SOS 15.0.1 is not compatible with Audit.qs 0.5.0. Compatible Audit.qs versions: >=0.3.0 <0.5.0.warn: AUDIT API: Connection test from incompatible Audit.qs version ip=10.0.0.12 origin=https://qliksense.example.com butlerSosVersion=15.0.1 auditQsVersion=0.5.0 message=Butler SOS 15.0.1 is not compatible with Audit.qs 0.5.0. Compatible Audit.qs versions: >=0.3.0 <0.5.0.After upgrading Butler SOS, the same connection test logs Connection test successful, and the property panel shows Connection Successful instead of the warning.
Checking a Butler SOS Server by Hand
The connection test can also be run without Qlik Sense, from a bash or zsh shell. Replace the host and port with those of your Butler SOS audit events API, and the version with the Audit.qs version you plan to deploy:
printf 'Butler SOS API token: '; read -rs TOKEN; echo
printf 'header = "Authorization: Bearer %s"\n' "$TOKEN" | curl -sS -K - -H "X-Audit-QS-Version: 0.6.0" https://butler-sos.example.com:9090/api/v1/test-connection
unset TOKENThe first line asks for the API token from the Butler SOS config file without showing it as you type; if no API token is configured, just press Enter. The token is handed to curl on its standard input rather than on the command line, so it does not end up in your shell history or in the process list while curl runs.
An answer with status 401 and the reason Unauthorized means the token is missing or wrong; it says nothing about whether the versions are compatible.
The answer includes "compatible": true when that Audit.qs version is accepted:
{
"status": "ok",
"message": "Butler SOS Audit API is reachable",
"timestamp": "2026-10-19T09:15:42.118Z",
"butlerSosVersion": "15.1.2",
"auditQsVersion": "0.6.0",
"compatible": true
}For Audit.qs 0.5 against Butler SOS 15.1.0, with X-Audit-QS-Version: 0.5.0:
{
"status": "ok",
"message": "Butler SOS Audit API is reachable",
"timestamp": "2026-10-05T09:15:42.118Z",
"butlerSosVersion": "15.1.0",
"auditQsVersion": "0.5.0",
"compatible": true
}A Butler SOS server that does not accept that version gives the same answer with "compatible": false. The butlerSosVersion field shows the version of the Butler SOS server that answered.
Operational Guidance
If Butler SOS logs that events were dropped because of an incompatible Audit.qs version:
- Check the Butler SOS version in use.
- Check the deployed Audit.qs extension version.
- Compare both versions to the compatibility matrix.
- Upgrade the component that falls outside the supported range.
If the connection test in Audit.qs warns about compatibility:
- Note the Butler SOS version shown by the server.
- Note the Audit.qs version reported by the client.
- Upgrade the out-of-range component.
Backward Compatibility
Butler SOS accepts requests without version metadata to allow staged upgrades, but operators should still treat missing version information as something to investigate.