Setup & Installation
What This Skill Does
Java client library for sending custom logs to Azure Monitor using the Logs Ingestion API. Works through Data Collection Rules (DCR) and Data Collection Endpoints (DCE) to route logs into Log Analytics workspace tables. Supports both synchronous and async (Reactor) upload patterns.
Manually calling the Logs Ingestion REST API requires handling chunking, retries, auth token refresh, and partial failure logic — this client handles all of that with a single upload() call.
When to use it
- Shipping Java application logs to a custom Log Analytics table for centralized querying
- Batching and uploading audit events from a Spring Boot service to Azure Monitor
- Routing structured Java logs into CommonSecurityLog or Syslog built-in tables via DCR
- Handling partial upload failures in bulk log ingestion pipelines without aborting the entire batch
- Ingesting high-volume telemetry asynchronously using LogsIngestionAsyncClient in reactive Java apps