Connect Azion
Updated 29 November 2026Add an Azion Data Stream with the Standard HTTP/HTTPS POST connector and a custom template so request logs reach Brandexa. No Azion access is shared.
What to know
Azion Data Stream posts the request logs of your edge applications to an HTTPS endpoint. You add a stream with the Standard HTTP/HTTPS POST connector, one custom header that carries your source key, and a custom template that chooses the fields. Brandexa never needs access to your Azion account.
Steps in Brandexa
- Open Agent analytics, then Logs, and choose Connect request logs.
- Choose Azion and pick the domain the edge application serves.
- Brandexa shows the URL, the custom header with your source key and the template. The key is shown once, so copy it now.
Steps in the Azion Console
- Open Data Stream and add a stream. Choose the Applications data source.
- Create a custom template with the text below.
- Choose the Standard HTTP/HTTPS POST destination. Enter the URL from Brandexa.
- Add one custom header named X-Brandexa-Source with your source key as the value. Azion requires at least one header.
- Leave the log line separator on a new line, and the payload max size at the default.
- Save and activate the stream.
The custom template. It does not ask for the visitor's address or the query string:
{"time":"$time","host":"$host","path":"$requestPath","method":"$request_method","user_agent":"$http_user_agent","status":"$status","bytes":"$bytes_sent","country":"$country","request_id":"$request_id"}Azion checks only the format of the fields when you save, so the first batch is the real test. Azion sends a batch every minute, or sooner at 2,000 lines. Come back to Brandexa and choose Check status.
Requests from visitors are sent too, because a stream cannot filter by user agent. Brandexa discards everything except AI crawlers and search engines when it arrives. Azion writes the country as a name, so the country column stays empty. If your plan does not offer the request id variable, Brandexa tells requests apart by their other fields.
Brandexa keeps only requests from recognised AI crawlers and search engines. For each one it stores the time, host, path without the query string, method, status, size, country and crawler name. It does not store visitor addresses, query strings, cookies or the user agent text.
If something goes wrong
- Nothing appears. Check that the stream is active, that the data source is Applications and that the template matches the one above.
- Azion reports a 504. The endpoint must answer within 20 seconds. Check the status in Brandexa and try again.
- To stop, deactivate and delete the stream.