Skip to content

Connect Azure Blob Storage

Updated 29 November 2026

Have your CDN write its logs to an Azure storage container and give Brandexa a read-only SAS token to collect them.

What to know

Your CDN writes its access logs to a container in your Azure storage account. Brandexa reads the new files every few minutes with a read-only SAS token. The logs must be newline-delimited JSON, plain or gzip. Parquet and tab-separated files are not read.

Supported log sources

  • Azure Front Door. Diagnostic settings archive the FrontDoorAccessLog category to a storage account.
  • Cloudflare Logpush. A job for the http_requests dataset with a Microsoft Azure destination and the NDJSON output type.
  • Fastly. A Microsoft Azure Blob Storage logging endpoint with the Fastly log format, gzip, and Select a log line format set to Blank.

Steps for Azure Front Door

  1. On the Front Door profile open Monitoring, then Diagnostic settings, then Add diagnostic setting.
  2. Select the FrontDoorAccessLog category and Archive to a storage account.
  3. Azure writes to the container insights-logs-frontdooraccesslog, one file an hour.

The same setting from the Azure CLI:

Azure CLI
az monitor diagnostic-settings create \
  --name brandexa-logs \
  --resource <FRONT_DOOR_RESOURCE_ID> \
  --storage-account <STORAGE_ACCOUNT_ID> \
  --logs '[{"category":"FrontDoorAccessLog","enabled":true}]'

Give Brandexa read access

Brandexa needs the Read and List permissions on the container and nothing else. It refuses a storage account key.

  1. In the Azure portal open the storage account, then Data storage, Containers and the log container.
  2. Under Settings, Access policy, choose Add policy. Name it, select Read and List, set an expiry far enough ahead and save.
  3. Under Settings, Shared access tokens, choose Account key as the signing method and that policy as the stored access policy. Keep HTTPS only and choose Generate SAS token and URL.
  4. Copy the Blob SAS URL, or the Blob SAS token. Brandexa accepts either.

Or create the policy and the token with the Azure CLI:

Azure CLI
az storage container policy create \
  --account-name <STORAGE_ACCOUNT> \
  --container-name <CONTAINER> \
  --name brandexa-read \
  --permissions rl \
  --expiry 2027-12-31T00:00Z

az storage container generate-sas \
  --account-name <STORAGE_ACCOUNT> \
  --name <CONTAINER> \
  --policy-name brandexa-read \
  --account-key <STORAGE_ACCOUNT_KEY> \
  --https-only

Steps in Brandexa

  1. Open Agent analytics, then Logs, and choose Connect request logs.
  2. Choose Azure Blob Storage, pick the domain and the log format.
  3. Enter the container name, the storage account name and, if your logs sit under a folder, the key prefix. A SAS URL fills in the account and container for you.
  4. Paste the SAS token or URL. Brandexa lists the container once to check access, then keeps the token encrypted.
  5. Choose whether to import the files already in the container. Without the import, Brandexa starts with files written after you add the container, plus up to six hours before.
  6. Choose Add container, then Check status.

Brandexa checks the container about every five minutes. Use a prefix that holds only these logs, and a lifecycle rule that deletes old blobs, because Brandexa lists the whole prefix on each check.

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

  • Access denied. The stored access policy has expired or lacks Read and List. Extend the policy's expiry in Azure, or add the container again with a new token.
  • The token ends soon. Brandexa warns you in the status screen 14 days before.
  • Nothing appears. Download one blob and check that each line starts with an opening brace. Other formats are not read.

Still need help?

If you have a question or something is not working, get in touch.

Contact us