Thanks to visit codestin.com
Credit goes to officialskills.sh

Back to skills

azure-monitor-ingestion-java

Java client library for sending custom logs to Azure Monitor using the Logs Ingestion API.

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-monitor-ingestion-java
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-java/skills/azure-monitor-ingestion-java
View on GitHub

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