Skip to content

Feature request - Example with gzip Content-Encoding #5

@o-l-a-v

Description

@o-l-a-v

In my testing, setting Content-Encoding: "gzip" with body being plaintext JSON, DCR diagnostic log category DcrLogErrors ( https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-logs/microsoft-insights-datacollectionrules-logs ) returns error Compressed data in invalid..

Would be nice with an example where you compress the content to GZIP so it works with Content-Encoding: "gzip".

One can likely save a lot of data on logs files in transit, which are both text and has a lot of repetative content. Example / playground:

The Log Ingestion API limitations is 1MB, compressed or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions