Log Analytics Workspaces
Review and act on pricing tier, retention and table plan recommendations for your Log Analytics workspaces. They appear on the same Sizing page as every other resource type: open Recommendations > Sizing and set the Resource type filter to Log Analytics Workspaces.
8 Sections
Savings and your bill are separate figures
Savings are modeled at Azure list prices in USD, like every sizing recommendation. Your bill is the workspace's observed cost from your billing data, in your billing currency, and may include discounts. It's shown for context only. StratoLens never subtracts one from the other.
What's Analyzed
Every scan reads each workspace's own usage records. There's nothing to turn on. Averages and recommendations use the last 31 full UTC days of billable ingestion. Opening the Sizing page doesn't query your workspaces; it shows what the last scan collected.
Unlike other resource types, where a recommendation is one target, a Log Analytics recommendation is a set of independent levers: pricing tier, retention and table plan. Their savings add up.
- New workspaces: averages cover only the days the workspace existed in the 31-day window, so a workspace created last week isn't understated.
- Idle workspaces: a workspace with no data at all for 31 days gets no sizing recommendation. It shows in Orphaned Resources instead. A workspace quiet for less than 31 days can appear in both.
- Failed collection: if a scan can't query a workspace, the previous scan's evidence is reused for up to 7 days, and the card warns "Evidence carried forward from scan …".
As with other resource types, realized savings are recorded when you change a workspace's tier, retention or table plan, and new or changed recommendations feed the Sizing email alert.
Log Analytics Toggles
These controls live in the Log Analytics Workspaces section of Toggle Options. Each one includes or leaves out a lever. The default view counts pricing tier plus long-term retention.
Defaults
- Change pricing tier
- Default on. Includes a move to pay-as-you-go or a commitment tier when it costs less at the workspace's daily volume.
- Retention beyond included days
- Default Convert to long-term retention. The other choices are Cut total retention (deletes data) and Keep as is, which counts no retention change.
- Convert eligible tables to Basic plan
- Default off. Moves eligible high-volume tables to the Basic plan.
No pricing tier lever on Sentinel workspaces
Workspaces with Microsoft Sentinel never get a pricing tier or table plan lever, whatever the toggles say. Only retention is offered.
The table plan saving is counted after the tier and long-term retention changes, so it can change when you switch the other toggles.
Compare scenarios and share them
Switch the toggles to compare scenarios. Every toggle state is in the page URL, so you can share the exact view.
Pricing Tier
- Compares pay-as-you-go with every commitment tier at the workspace's average daily volume.
- Commitment tiers are offered only when the workspace has a full 31 days of history.
- A commitment tier can't be lowered for 31 days after it's set. While the current tier is locked, the card says when it can be lowered.
- Not offered on workspaces linked to a dedicated cluster or with Microsoft Sentinel.
Retention
Only retention beyond each table's included days counts. Included retention is 31 days for most tables and 90 days for Usage, AzureActivity, workspace-based Application Insights tables and every table on a Sentinel workspace.
- Retention is set per table. The workspace default applies only to tables without their own setting.
- The modeled retention cost assumes each table eventually holds its full retention at today's ingestion rate.
- Workspaces on the Free, Standard or Premium legacy tiers have fixed retention and get no retention lever.
Cut total retention deletes data
With Cut total retention (deletes data), data older than the included period is deleted after a 30-day grace period. Check compliance requirements first.
Long-term retention needs a search job or restore
Long-term retention keeps data at a lower price, but regular queries can't read it. Reading it needs a search job or a restore, which are billed separately. If Microsoft Sentinel data lake is enabled, long-term retention bills on Sentinel data lake meters and the retention savings differ.
Table Plan
- Offered only on pay-as-you-go workspaces without Sentinel.
- Covers only tables Microsoft lists as supporting the Basic plan, plus custom tables created through data collection rules. Custom tables created with the older agent or the HTTP Data Collector API aren't eligible.
- Tables below the Table-plan minimum GB/month setting get no table plan recommendation.
Basic tables work differently
Basic tables bill per GB scanned on query, keep 30 days interactive, and can't be used by alert rules. A table's plan can change once per week.
Reading the Workspace Card
Selecting a workspace opens one Workspace Optimization Recommendation card in the detail panel:
- Tier and retention
- The current pricing tier (with a Microsoft Sentinel badge on Sentinel workspaces) and "Retention N days (M included)".
- Average ingestion
- Average billable GB/day. For a workspace created inside the window, it adds "across its N days in the window".
- Modeled cost and Your bill
- The monthly cost at list price, and the observed Log Analytics meter cost per month from billing data.
- Estimated Savings
- Per month, per year and % reduction for the levers the toggles include. With more than one lever it reads "Sum of N independent levers."
- Lever sections
- One per included lever: Pricing tier, Retention: move to long-term, Retention: cut total retention or Table plan: move to Basic. Each shows current and target, monthly savings, its own confidence, rationale and warnings. Retention and table plan levers list savings per table.
- Not included by current toggles
- A collapsed list of the levers the toggles leave out, with their savings. Expand it to see their details.
- Top tables (last 31 days)
- The largest billable tables with GB, share and plan. Basic eligible marks tables that can move to Basic. An info icon next to some table names links to Microsoft guidance for reducing that table.
- Footer
- Billable GB in 31 days, days with data, the date the evidence was collected and the price region.
Workspace Details in the detail panel opens the workspace detail window, with observed cost by meter and every table. Hide and Unhide work as on other resource types, with an optional reason such as "Retention is set by a compliance requirement".
Settings
Open Settings > Scanner, expand Sizing Recommendations and find the Log Analytics Workspaces block. Like other scanner settings, changes apply on the next scan. Log Analytics has no aggressiveness or minimum data window setting.
Defaults
- Table-plan minimum GB/month
- 1. Basic-eligible tables that ingested less than this over the last 31 days get no table plan recommendation. 0 includes every eligible table that ingested any data.
Troubleshooting
A workspace I expected has no recommendation
Answer
It may already be on the cheapest option for every lever, or have been idle for 31 days (check Orphaned Resources). Its savings may be below the Minimum Savings filter, it may be hidden, or its last successful usage query may be more than 7 days old.
No tier change for my Sentinel workspace
Answer
This is by design. Sentinel workspaces bill ingestion on Sentinel meters, which this recommendation doesn't price, so the tier and table plan levers aren't offered. Only retention is.
A commitment tier isn't suggested for a new workspace
Answer
Commitment tiers need a full 31 days of history. Until then, the pricing tier lever only compares pay-as-you-go.
The card warns that savings may not materialize
Answer
The workspace is under the 5 GB/month account-wide free allowance, so a cheaper configuration may not lower what you pay.