Skip to main content

Persistent Queue in Cribl Stream Does Not Engage and Data Is Dropped When a Sentinel Destination Receives HTTP 403 (PrivateLinkIdNotAllowed)

  • Nov 19, 2026 8:12 PM UTC
  • 0 replies
  • 6 views

Jessica Bracken

Symptom

Data stops arriving in Microsoft Sentinel for several hours. All Sentinel destinations report errors, but the Persistent Queue (PQ) does not engage and no events are queued. The data sent during the outage is lost.

The Worker Process logs show, for every affected destination, a pair of entries logged about 1 ms apart (identifiers redacted):

{"time":"2026-11-03T10:02:57.521Z","cid":"w5","channel":"output:<sentinel-destination-id>","level":"warn","message":"Received status code=403, method=POST, url=https://<dce>.<region>.ingest.monitor.azure.com/dataCollectionRules/<dcr-id>/streams/Custom-<table>?api-version=2021-11-01-preview","ioType":"destination","ioName":"sentinel"}

{"time":"2026-11-03T10:02:57.522Z","cid":"w5","channel":"output:<sentinel-destination-id>","level":"error","message":"Request failed","ioType":"destination","ioName":"sentinel","reason":"Received status code=403, method=POST, url=https://<dce>.<region>.ingest.monitor.azure.com/dataCollectionRules/<dcr-id>/streams/Custom-<table>?api-version=2021-11-01-preview","response":"{\"error\":{\"code\":\"PrivateLinkIdNotAllowed\",\"message\":\"Private link Id mismatch.\"}}","size":14176,"count":197,"statusCode":403,"moreInfo":"Check cribl.log for more details","throttledCount":1,"error":{...stack trace omitted...}}

The warn entry is the raw per-request log line. The error entry is the resulting failed batch and carries the response body from Azure.

Environment

  • Cribl Stream 4.18.2 (applies to versions with the same HTTP destination retry behavior)
  • Self-managed (on-prem or customer-hosted cloud VMs); also applies to Cribl.Cloud
  • Microsoft Sentinel destination (Azure Monitor Logs Ingestion API through a Data Collection Endpoint and Data Collection Rule)
  • Persistent Queue enabled on the destination in Error or Backpressure mode

Resolution

  1. Identify the cause of the 403 in the response body of the Request failed entries (cribl.log of the Worker Processes). For PrivateLinkIdNotAllowed - Private link Id mismatch, review the Azure side: the network isolation settings of the Data Collection Endpoint, the Azure Monitor Private Link Scope, and any private endpoint or scope change made shortly before the first 403. For other 403 responses, review the role assignments of the identity used by the destination and the DCR/DCE permissions.
  2. Decide whether events must be preserved while Azure rejects requests with 403. If yes, continue with the steps below. If not, fix the Azure side only.
  3. Open the Sentinel destination and go to Retries > Settings for failed HTTP requests.
  4. Click Add Setting and add an entry for HTTP status 403. Add 401 as well if token problems should be retried. Example values:
    • HTTP status code: 403
    • Initial retry interval (ms): 1000
    • Backoff multiplier: 2
    • Maximum retry interval (ms): 20000
  5. Add the other status codes that should be retried, for example 429, 408, 500, 502, 503, 504. Server errors (5xx) are retried automatically. Other 4xx codes, including 429, are retried only when listed.
  6. Select a PQ mode that matches the requirement:
    • Always On writes every event to the PQ before delivery, and the PQ retains events while the destination is unavailable.
    • Backpressure moves events to the PQ only after the destination has been blocked continuously for Max backpressure duration. A successful request resets that timer.
    • Error does not engage the PQ from backpressure alone.
  7. Size the PQ so that it can hold the data volume of the expected outage: set Max queue size to a meaningful value and make sure the PQ path has enough free disk space.
  8. Test the change in a non-production environment before applying it to production.

Workaround (if applicable)

If a 403 is retried while the underlying Azure problem persists, the retries keep failing and the queue grows until it reaches Max queue size. Monitor PQ size and fix the Azure cause as soon as possible.

Cause

A PQ must work safely for every destination type, so it is not a general "retry everything" mechanism. For HTTP-based destinations, the destination decides what to do with a failed request:

  • Server errors (5xx) are always retried with backoff. The destination blocks, backpressure builds up, and the PQ can engage.
  • Other 4xx responses, including 403 and 429, are retried only when the status code is listed in Settings for failed HTTP requests. If it is not listed, the failure is logged as Request failed and the batch is discarded. The destination is not blocked, so no backpressure builds up and nothing is written to the PQ.

For new Sentinel destinations, the default retry list contains 408, 429, 500, 502, 503, 504 and 509. It does not contain 401 or 403. A destination with an empty list retries only 5xx responses.

The default exists because, for many destinations, a 4xx response is caused by the event payload and retrying cannot help. For example, when sending to a Splunk index that does not exist, Splunk returns a 4xx. Retrying and queueing the data would not fix it: the events would accumulate in the PQ, and recovery would require changing the index in every PQ file manually.

For Sentinel the situation differs. A 403 from Azure Monitor depends on the network and permission configuration on the Azure side, not on the event payload. After the Azure configuration is fixed, the same events are accepted. This is the purpose of the configurable retry settings.

Additional Information