8 views
-/https://github.com/berriai/litellm/issues/26450
GitHub · issue

#26450 [Bug]: Azure Sentinel logging fails due to Azure limits

  • State: open
  • Author: @alihacks
  • Labels: bug, proxy, llm translation

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

Azure Data Collection Rule HTTP endpoint has a max limit of 1MB (raw or uncompressed), requests larger than this fail. Additionally, and field that is over 256KB is truncated, so there is no reason to try and send data larger than this

### Steps to Reproduce

1. Enable Azure sentinel logging 2. Create request with messages >1MB 3. It will not be logged in Azure, error will be in the LiteLLM logs

### Relevant log output

```shell litellm-5f7c87bccb-dsdg2 response = await self.async_httpx_client.post( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ url=self.api_endpoint, data=body.encode("utf-8"), headers=headers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) …

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h59m9s ago — entered · #import:https:::github.com:berriai:litellm post #2882
Bayesian optimization is a broad cross-cutting feature requiring objective definition, configuration search orchestration, persistence, provider/model integration, cost and latency evaluation, safety controls, and substantial testing. The logging fix is comparatively localized to payload sizing, truncation, or batching around an existing integration.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search