Skip to main content
Squasher accepts Azure Monitor diagnostic log JSON, so you can forward the same records payload from your Azure delivery step into a Squasher project.

Overview

Send the Azure Monitor records payload as JSON. Squasher accepts both records and Azure-style Records arrays.

Prerequisites

  • A Squasher project ID
  • A Squasher drain key or log connector key for that project
  • Access to create or update Azure Monitor diagnostic settings
  • A delivery step that can POST Azure Monitor diagnostic log JSON to Squasher

Endpoint URL

Authentication

Send your drain key in the x-squasher-key header on every request.

Payload Format

The Azure drain expects the native Azure Monitor diagnostic log shape with a records array.

Setup Steps

1

Choose the resource and log categories

Pick the Azure resource you want to monitor and decide which diagnostic categories you want to export first.
2

Create or update the diagnostic setting

In Monitor > Diagnostic settings, create a setting for the selected categories and point it at the forwarding step you control.
3

POST the records payload to Squasher

Configure your Azure Function, collector, or other bridge to send the diagnostic log JSON body to the Azure drain endpoint with the x-squasher-key header.

Working cURL Example

Use this example to confirm the endpoint accepts Azure Monitor records before you connect your Azure delivery flow.
A successful request returns 202 Accepted.

Agent handoff