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
Not recommended
48/ 100 5-point scale 2.4 / 5
Trust14 / 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.

Reliability7 / 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.

Adaptability8 / 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.

Convention9 / 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.

Effectiveness6 / 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.

Verifiability4 / 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 it does & when to 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.

Pros & cons

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 to install

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 to use

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 Identity for Python

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

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 Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

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 Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills