CloudVectra Logo CloudVectra
CloudVectra Knowledge Hub

Azure Monitoring Architecture Mistakes: The Hidden Cost of Logs and Telemetry

Control Azure Monitor ingestion, diagnostic duplication, Application Insights sampling, table plans, transformations and retention costs.

6 min read

1. The scenario: every diagnostic category goes everywhere

An Azure application enables every available diagnostic category, collects verbose application logs and exports telemetry to two workspaces. Application Insights automatic instrumentation runs alongside a second exporter. Nobody owns the combined volume.

The configuration provides broad visibility but also duplicates ingestion and retains low-value events. Monitoring architecture should preserve incident and audit evidence while controlling collection at its source, destination and retention layer.

Dollar amounts are illustrative USD assumptions using decimal GB. They exclude discounts, taxes and included allowances unless stated, and are not current regional quotes.

2. How it works: collection and table plans are separate choices

Diagnostic settings route supported resource logs and metrics to selected destinations. Application Insights provides application telemetry, usually backed by a Log Analytics workspace in current deployments. Data collection rules and transformations can shape supported incoming streams.

Log Analytics table plans have different economics and capabilities. Analytics supports richer frequent analysis; Basic and Auxiliary reduce ingestion cost with query/feature tradeoffs. Supported tables, query patterns, retention and alerting requirements must guide the choice.

Azure Monitor cost guidance separates ingestion, retention, export, metrics, alerts and other meters. Not every default platform metric or Activity Log view has a charge. Do not present every Azure Monitor signal as paid ingestion.

Azure observability architecture showing resource dependencies and the costs to evaluate.

3. Cost components: the bill follows stored and processed work

ComponentWhat to measure
IngestionBillable GB by workspace, table and source
RetentionIncluded analysis window versus extra/long-term retention
QueriesApplicable scanned data, search jobs and selected plan
ExportContinuous export, destination ingestion/storage and transfer
Metrics/alertsManaged Prometheus samples, APIs, series and alert rules
CollectionAgent/collector resources and applicable transformation processing

Analytics interactive queries are not generally billed per scanned GB like Basic/Auxiliary queries. Long-term searches and selected query features have their own charges. Log cost documentation explains billable record size and plan differences; network-compressed payload size is not a reliable substitute for billed ingestion.

Microsoft Sentinel can change the meters and included retention for a workspace. Reconcile its plan before applying generic Log Analytics prices or double-counting the same ingestion under two services.

4. Where things go wrong

Multiple diagnostic settings or collection paths can send overlapping events to different destinations. A second workspace’s copy is not generally free. Review source, category, rule and destination as a pipeline, including platform integrations that enable collection automatically.

Application Insights sampling should maintain coherent traces across services. SDK/exporter behavior varies by language and instrumentation version. Sampling traces does not universally reduce unrelated logs or metrics by the same percentage. Follow current OpenTelemetry sampling guidance for the actual instrumentation.

A daily cap is a last-resort control, not a precise spending guarantee or a replacement for a collection policy. It can produce an evidence gap during an incident, and enforcement can allow some overshoot. Keep essential alerts and required audit data available.

Filtering after ingestion does not reverse the ingestion charge. Ingestion-time transformations have their own rules: Analytics/Basic can charge processing when filtering exceeds 50% of incoming data, with documented exceptions such as Sentinel treatment. Auxiliary has a processing meter on incoming data as well as ingestion on retained output. See transformation billing.

Moving all logs to the cheapest table plan can break needed queries or alerts. Long retention is useful only with an accessible investigation workflow and an approved purpose.

5. Real-world example: source reduction and transformation are different

Assume 100 GB/day of billable Analytics ingestion for 30 days at $2.50/GB: 3,000 × $2.50 = $7,500/month. An unnecessary second complete copy at that same assumed rate adds another $7,500.

If application and collection settings reduce production to 40 GB/day before the data enters Azure Monitor’s ingestion pipeline, the single-copy ingestion example becomes 40 × 30 × $2.50 = $3,000. That is a $4,500 ingestion difference; retained storage and other meters remain.

Now consider instead a qualifying Analytics ingestion-time transformation receiving 100 GB/day and dropping 70 GB/day. Output is 30 GB/day, but chargeable filtered volume above the 50% threshold is 70 − 50 = 20 GB/day. At an assumed $0.50/GB processing rate, monthly costs are:

ComponentCalculationAmount
Output ingestion30 × 30 × $2.50$2,250
Transformation processing20 × 30 × $0.50$300
SubtotalSum$2,550

This deliberately excludes exceptions and other charges. It shows why “70% filtered” is not always “70% less bill.” Prefer source reduction where feasible and safe, then model the actual table and workspace rules.

6. Alternatives and their tradeoffs

Keep operational and security evidence according to their different purposes. Use high-value aggregate signals for alerting, sampled coherent traces for diagnosis, and appropriately controlled logs for detailed events.

A mix of table plans in one workspace can fit different query needs. Separate workspaces can serve justified residency, trust, billing or operational boundaries, but copying the same data between them needs a reason.

An archive or storage destination can suit infrequent long-term access. Include export, storage, retrieval, search tooling and access controls. Lower capacity cost alone does not establish that an auditor or incident responder can use it.

7. Practical recommendations

Inventory diagnostic settings, collectors, exporters and workspaces. Group billed volume by table and source, then compare growth with request volume and deployments.

Assign each stream an owner, diagnostic purpose, expected daily GB, retention period and required query/alert capability. Remove sensitive payloads before emission. Give temporary verbosity an expiry.

Test representative incident queries after changes. Review caps, ingestion delays, dropped events and sampling configuration. Confirm actual billed volume changed rather than relying only on emitted bytes.

8. CloudVectra perspective: give telemetry a budget and owner

CloudVectra cost insights supports reviewing monitoring with the workload it serves. Cost Centers can distinguish application diagnostics from shared security and platform collection.

Use anomaly detection to focus investigation on sudden spending changes. Azure Monitor usage data, collection rules and instrumentation establish which stream caused the growth; cost visibility helps maintain accountability and validate the financial result.

Continue the architecture series

Sources and further reading

Choose whether CloudVectra may load optional analytics. You can change this at any time.

Cookie names, providers, and retention