Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

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

48/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-monitorjava-sdklogs-ingestiondata-collection-rules
+3log-analyticsmanaged-identityreactor

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.

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

How do you install this skill?

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.
Before you start
Your agent needs
  • Network access
Install first
  • Java
  • com.azure:azure-monitor-ingestion:1.2.11

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.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-java/skills/azure-monitor-ingestion-java" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Show me how to use LogsIngestionClient java
  • upload custom logs to Azure Monitor with DCR java

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.

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 does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure Monitor Log Ingestion for Java this page ✓ Microsoft · Official 48 · Use with care ★ 2.7k 3mo ago MIT
Azure Monitor Custom Log Ingestion ✓ Microsoft · Official 53 · Use with care ★ 2.7k 3mo ago MIT
Azure Monitor Query for Java ✓ Microsoft · Official 52 · Use with care ★ 2.7k 3mo ago MIT
Azure Monitor Query for Python ✓ Microsoft · Official 54 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Persistent Agents for Java ✓ Microsoft · Official 47 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
48/ 100 5-point scale 2.4 / 5
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.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

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.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

★ 2.7k FS 54 Use with care 3mo ago
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.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

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

★ 2.7k FS 60 Recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

★ 2.7k FS 57 Use with care 3mo ago
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.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

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

★ 2.7k FS 51 Use with care 3mo ago
Data & Analysis ✓ Microsoft · Official

KQL Query Mastery

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

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for .NET

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

★ 2.7k FS 50 Use with care 3mo ago
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.

★ 2.7k FS 46 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

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

★ 2.7k FS 45 Not recommended 3mo ago
Data & Analysis ✓ Microsoft · Official

Azure Data Explorer Kusto Analytics

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

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

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

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure CallingServer Java Legacy Maintainer

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

★ 2.7k FS 52 Use with care 3mo ago
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.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Communication Common for Java

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

★ 2.7k FS 51 Use with care 3mo ago
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.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

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

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Tables Java Skill

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

★ 2.7k FS 48 Use with care 3mo ago

Related skills