Dev & Engineering ✓ Microsoft · Official azure-monitorjava-sdklogs-ingestiondata-collection-ruleslog-analyticsmanaged-identityreactor

Azure Monitor Log Ingestion for Java

Guides Java applications in sending structured custom logs to Azure Monitor through DCRs.

FollowSkills review · FSRS-2.0
Use with care
48/ 100 5-point scale 2.4 / 5
1 2 3 4 5 6
1Trust14 / 25 · 2.8/5

The documentation identifies the DCE, DCR, workspace, and credential environment variables, and shows DefaultAzureCredential and managed identity usage. However, uploading logs is an explicit external data flow, while sensitive-log redaction, least-privilege RBAC, user confirmation, idempotency, and rollback are not addressed, so trust is materially deducted.

2Reliability7 / 20 · 1.8/5

Synchronous, asynchronous, concurrent, and partial-failure patterns are documented, with some HTTP-status diagnostics. Static evidence provides no executed reproduction for the key paths; dependency examples are inconsistent (1.2.11, 1.2.14, and BOM 1.2.29), and input limits, batching edges, and retry behavior are incomplete. The score is therefore constrained by static calibration and further reduced.

3Adaptability8 / 15 · 2.7/5

Triggers, Java SDK scope, prerequisites, and common scenarios are reasonably clear. Non-fit cases, schema and payload limits, and authentication boundaries are not sufficiently specified; there is no evidence of Chinese-language support or reachability of the Azure service path from mainland-China networks, so adaptability is deducted.

4Convention9 / 15 · 3.0/5

The material is well organized across installation, prerequisites, environment variables, synchronous/asynchronous examples, error handling, best practices, and a reference examples file. However, versions are inconsistent, and changelog, explicit maintenance ownership, update path, FAQ, post-install verification, and known limitations are missing. MIT licensing is visible in metadata and the repository license, but this is not complete governance documentation.

5Effectiveness6 / 15 · 2.0/5

The skill can directly guide common Java log uploads, concurrency configuration, and partial-failure handling, with code that is potentially reusable after review. It does not fully cover production schema validation, service batching limits, retry/deduplication, privacy controls, or deployment concerns, and some examples require manual correctness checking, so effectiveness is capped and deducted.

6Verifiability4 / 10 · 2.0/5

The skill includes Maven, GitHub, product-documentation, and troubleshooting references, and the repository shows general CI and test infrastructure. Those files do not demonstrate executed validation of this skill's key examples, however; no skill-specific committed tests or third-party execution evidence are supplied, so verifiability remains limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Logs may contain sensitive data; production use requires validating classification, redaction, DCR schema, network boundaries, and least-privilege RBAC.
  • SDK and BOM versions differ between the main skill and reference file; examples should be checked against a pinned official version and actual API signatures.
  • The material does not establish mainland-China network reachability, regional service availability, or private-network configuration; deployment must be validated separately.
  • The asynchronous examples use subscribe without documenting lifecycle management, backpressure, retries, duplicate uploads, or durable handling of failed logs.
See the full review method →

What does this skill do, and when should you use it?

This skill is for Java developers using the Azure Monitor Ingestion SDK. It covers the Azure resources required for ingestion, client construction with token credentials, and synchronous or reactive asynchronous uploads. It includes batching, concurrency, partial-failure handling, log-entry serialization, and common HTTP error responses. Adopt it when a Java application needs to write custom logs to Azure Monitor and the required DCE, DCR, workspace, table, and permissions are available.

Provides Maven dependency examples and Java patterns for creating LogsIngestionClient or LogsIngestionAsyncClient; shows how to call upload with a DCR ID and stream name; demonstrates maxConcurrency for larger collections and an error consumer for failed entries; documents getter requirements for JSON serialization, DCR schema matching, and TimeGenerated; explains basic handling for 403 and 404 responses and points to the azure-monitor-query skill for querying ingested logs.

  1. A Java backend developer needs to send application-specific events into a Log Analytics workspace.
  2. A platform team has configured a DCE and DCR and needs a pattern for uploading structured logs in batches.
  3. An ingestion pipeline handles large collections and needs synchronous concurrency or reactive asynchronous uploads.
  4. An operator wants to capture failed log entries and continue processing instead of aborting every upload.

What are this skill's strengths and limitations?

Pros
  • Covers both synchronous and Reactor-based asynchronous clients.
  • Includes concurrency, partial-upload error callbacks, and common HTTP error handling.
  • Clearly identifies DCE, DCR, stream, schema, and timestamp prerequisites.
  • Supplies dependency coordinates, environment variables, and reference links.
Limitations
  • It does not configure the Azure resources or permissions for you.
  • The provided SKILL.md contains no standalone test suite or Java-specific acceptance scenarios.
  • The source pins version 1.2.11 but does not establish that it is current.
  • Log querying is delegated to another skill rather than covered in depth here.

How do you install this skill?

Install the collection with npx skills add microsoft/skills, then select the required skill in the wizard. The README says skills are installed into the selected agent directory, such as .github/skills/ for GitHub Copilot; the source does not document a standalone installation command for this Java skill. Add the Maven dependency com.azure:azure-monitor-ingestion:1.2.11, or manage its version with the Azure SDK BOM.

How do you use this skill?

After installation, prompt the coding Agent with a trigger such as “Show me how to use LogsIngestionClient java” or “upload custom logs to Azure Monitor with DCR java”. Prepare a Data Collection Endpoint, Data Collection Rule, Log Analytics workspace, and target table. Set DATA_COLLECTION_ENDPOINT, DATA_COLLECTION_RULE_ID, and STREAM_NAME; when using DefaultAzureCredential in production, also set AZURE_TOKEN_CREDENTIALS=prod.

FAQ

What Azure resources must already exist?
You need a Data Collection Endpoint, Data Collection Rule, Log Analytics workspace, and target table. The DCR defines transformation and routing.
How are upload failures handled?
LogsUploadOptions can invoke an error consumer with the exception and failed logs, allowing you to log and continue or throw to abort remaining uploads.
Is managed identity mandatory?
No. The examples use DefaultAzureCredential and also show ManagedIdentityCredential; the appropriate credential depends on the deployment environment.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Custom Log Ingestion

Guides Python agents to send custom logs to Log Analytics through the Logs Ingestion API.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Dev & Engineering ✓ Microsoft · Official

Azure AI Persistent Agents for Java

Guides Java developers through building and managing Azure AI agents with persistent threads, messages, runs, and tools.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

Configure secure Microsoft Entra ID authentication for Java applications using Azure SDKs.

Data & Analysis ✓ Microsoft · Official

KQL Query Mastery

Helps coding agents write efficient, reliable Kusto queries with fewer costly errors.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for .NET

Guides .NET applications in authenticating Azure SDK clients with Microsoft Entra ID.

Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub for Java

A practical Java SDK guide for Azure Web PubSub messaging, groups, permissions, and real-time client access.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

Configure Microsoft Entra ID authentication for Azure SDK clients written in Rust.

Data & Analysis ✓ Microsoft · Official

Azure Data Explorer Kusto Analytics

Query, aggregate, and analyze Azure Data Explorer logs, telemetry, and time-series data with KQL.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure CallingServer Java Legacy Maintainer

Maintain legacy CallingServer Java code and migrate it toward Azure Communication Services Call Automation.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis for Java

A practical Java SDK guide for captions, OCR, object detection, tagging, and smart image cropping.

Dev & Engineering ✓ Microsoft · Official

Azure Communication Common for Java

Guides Java developers through shared ACS authentication, token refresh, and communication identifier handling.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for Java

Ground Java coding agents in secure Azure Key Vault and Managed HSM key-management workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

Run and manage large-scale parallel and HPC workloads on Azure from Java.

Dev & Engineering ✓ Microsoft · Official

Azure Tables Java Skill

Build Java applications for Azure Table Storage and the Cosmos DB Table API.

Related skills