Skills azure-monitor-query-java
๐Ÿ“ฆ

azure-monitor-query-java

Content revision r2 Safe โš™๏ธ External commands๐ŸŒ Network access

Build Azure Monitor Queries in Java

Azure Monitor integrations require correct clients, query scopes, authentication, and response handling. This skill provides focused Java patterns for logs and metrics workflows.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 78 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "azure-monitor-query-java" from https://skillstore.io/skills/sickn33-azure-monitor-query-java.md and its manifest at https://skillstore.io/api/skills/sickn33-azure-monitor-query-java/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "azure-monitor-query-java". Plan a workspace activity query for the last day.

Expected outcome:

  • Package path: use the current logs package because the combined package is deprecated.
  • Authentication: use DefaultAzureCredential with workspace query permissions.
  • Scope: query one workspace for 24 hours and limit returned columns and rows.
  • Reliability: detect partial failures and record service error details.

Using "azure-monitor-query-java". Plan hourly TotalCalls and SuccessfulCalls metrics.

Expected outcome:

  • Target: provide the full Azure resource identifier and metric namespace.
  • Resolution: request one-hour granularity with average and count aggregations.
  • Processing: inspect each time series and preserve dimension metadata.
  • Efficiency: cache stable results and avoid requesting unnecessary intervals.

Using "azure-monitor-query-java". Prepare a migration from the deprecated combined package.

Expected outcome:

  • Separate log queries from metric queries before changing dependencies.
  • Map each client and model to its replacement package.
  • Retest authentication, sovereign-cloud endpoints, batch behavior, and partial failures.
  • Confirm current versions and migration notes in official Azure documentation.

Security Audit

Safe
v6 โ€ข 7/23/2026 Open versioned report

All 45 external-command alerts are Markdown backticks or fenced examples, not executable shell constructs. The nine URL alerts are official service endpoints or references, and the credential-directory alert is a substring mismatch. No semantic threats or prompt injection were found.

1
Files scanned
425
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-azure-monitor-query-java/security.svg)](https://skillstore.io/skills/sickn33-azure-monitor-query-java?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-azure-monitor-query-java?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-azure-monitor-query-java/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-azure-monitor-query-java.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). azure-monitor-query-java security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6

BibTeX citation

@techreport{sickn33-sickn33-azure-monitor-query-java-2026, author = {sickn33}, title = {azure-monitor-query-java security audit report (audit version 6)}, institution = {Skillstore}, year = {2026}, number = {6}, url = {https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "azure-monitor-query-java security audit report (audit version 6)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-07-23" url: "https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6" identifiers: - type: other value: "skillstore:sickn33-azure-monitor-query-java:audit:6" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
68
Community
83
Spec Compliance

What You Can Build

Add Log Analytics to a Java service

Plan authenticated workspace queries, bounded time ranges, result mapping, and failure handling.

Investigate Azure resource metrics

Design metric queries with selected aggregations, granularity, dimensions, and caching.

Migrate deprecated monitor queries

Identify replacement packages and preserve logs and metrics behavior during migration.

Try These Prompts

Create a basic logs query
Create a minimal Java approach for querying one Log Analytics workspace over 24 hours. Use placeholders and explain required permissions.
Plan a metrics query
Design a Java metrics query for {resource_id} using {metric_names}, hourly granularity, and average plus count aggregations. Include failure handling.
Design batched log analysis
Build a batched logs-query approach for {workspace_id} using {queries}. Limit results, set timeouts, and map responses to their queries.
Review and migrate an integration
Review this Azure Monitor query design: {design_summary}. Recommend current packages, least-privilege authentication, bounded queries, caching, and robust error handling.

Best Practices

  • Use bounded time ranges, projections, and row limits to control query cost and response size.
  • Handle partial failures, service errors, and timeouts before processing query results.
  • Use least-privilege Azure roles and migrate to the current logs and metrics packages.

Avoid

  • Do not place real credentials, workspace identifiers, or subscription details in generated examples.
  • Do not run unbounded Kusto queries when a smaller time range or projection meets the need.
  • Do not start new production work on the deprecated combined package without a migration plan.

Frequently Asked Questions

Does this skill execute Azure queries?
No. It provides Java guidance and examples. Query execution requires your application, Azure credentials, network access, and resource permissions.
Which Azure Monitor package should new projects use?
Use the current logs or metrics package. Confirm the latest package names and versions in official Azure documentation.
Can it help with Kusto queries?
Yes. It covers query placement, time intervals, batching, projections, and row limits. It is not a complete Kusto language reference.
Does it support asynchronous Java clients?
Yes. The source includes synchronous and asynchronous client creation patterns for log and metric queries.
Can it target Azure sovereign clouds?
It includes Azure China endpoint examples. Validate endpoints, authority hosts, and identity configuration for your selected cloud.
What information should I provide in a prompt?
Provide the query goal, resource type, time range, metrics or tables, expected output, package version, and operational constraints.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526

Maintenance freshness

7/26/2026

Usage

7 downloads ยท 79 views

File structure

๐Ÿ“„ SKILL.md