Azure Cost Dashboard Guide
Learn how to review Azure subscription costs collected per server (LSSN), broken down by service or resource group, including the projected month-end cost.
📋 Overview
The Azure Cost Dashboard shows the cost status of the Azure subscription tied to a selected server (LSSN). It reads the latest snapshot (kFactor=azure_cost) that the cost collector periodically gathers and stores in KVS, then visualizes the cost breakdown by service or resource group with a table and bar charts. When the reporting period is month-to-date (MonthToDate), it also projects the month-end cost based on the current daily average.
🔍 Key Components
1. Service / Resource Group Tabs
The two tabs at the top of the page switch the same data between a by-service and a by-resource-group perspective. Selecting a tab updates only the ?view= value in the address bar (service or rg) without reloading the whole page, so you can share a link to a specific view as-is.
2. Server (LSSN) Selection
Choose the target server whose cost you want to review.
- Dropdown: The list of servers belonging to the current project (csn) is populated in
Hostname (LSSN)form. - Direct input: If a server is not in the list or you already know the LSSN, type the number in the input field on the right and press [Run] or Enter.
Once an LSSN is chosen, the latest cost data is queried automatically.
3. Summary Cards
Key metrics are shown as cards above the results.
- Total Cost: The pre-tax total (
total_pretax_cost) for the period, with currency and period (period). Month-to-date data is labeledMonthToDate. - Projected Month-End: Appears only for a
MonthToDateperiod, calculated as the current daily average × the total number of days in that month. - Subscription: The subscription name (
subscription_name) and subscription ID (subscription_id). - Collected At: The time the data was collected (
collected_at) and the queried LSSN.
4. Per-item Cost Table
Depending on the active tab, costs are listed by service or by resource group, ordered from highest cost.
- #: Rank
- Service / Resource Group: Item name
- Cost: Pre-tax cost of the item
- Projected: Shown only for
MonthToDate; the item's share applied to the overall projection - Share: The item's ratio of the total cost, shown as a bar with a percentage
5. Assign a CSN (project) to a resource group · mapped-RG filter
On the Resource Group tab you can assign a project (CSN) directly from each resource-group row.
- How to assign: pick a project in the row's [Assign CSN] dropdown and click [Apply] — the resource group is mapped to that CSN (stored in
tCsnAzureRg). It then appears in that CSN's Azure-cost view (mapped-RG filter and subtotal). - Reassign / unassign: moving an RG that is already mapped to another CSN cleans up the old mapping automatically, keeping 1 RG = 1 CSN. Selecting
(Unassigned)and applying removes the mapping. - Show only mapped RGs: if the current project (CSN) has one or more mapped RGs, a "Show only mapped RGs" toggle appears. Turning it on filters the current server's resource groups to the mapped RGs and shows a mapped subtotal. With no mappings, all RGs are shown (non-destructive fallback).
- This inline assignment shares the same mapping data as the dedicated Azure Resource Group Management screen. Use that screen for detailed management including subscription ID and notes.
🛠️ Tips
- Switch perspective: Use the Service tab to see which Azure services cost the most, and the Resource Group tab to see which groups are largest.
- Share links: Since the
?view=and?lssn=values are reflected in the address bar, you can share a specific server and view directly. - Use the projection: The projected cost is calculated only when month-to-date data exists. Use it to spot cost spikes early.
💡 Important Notes
- All displayed costs are on a pre-tax basis.
- The dashboard always shows the single most recently collected snapshot. Values are as of the collection time, not real-time.
- If there is no data, a notice is shown. This usually means the cost collector has not yet run for that server, or no snapshot has been stored.
Troubleshooting
| Symptom | Cause | Resolution |
|---|---|---|
| Shows "No data" | No azure_cost snapshot has been collected for that LSSN | Verify that the Azure cost collector has run and stored data on the target server. |
| Server dropdown is empty | No project (csn) is selected, or the list failed to load | Select a project and reopen the page, or type the LSSN directly in the input field on the right. |
| Projected month-end card/column is missing | The period is not MonthToDate | The projection is only derived from month-to-date data. This is expected for other periods. |
| Resource Group tab is empty | The snapshot has no by_resource_group data | Confirm the collector also gathers costs at the resource-group level. |
| [Assign CSN] dropdown is not shown | The selectable project list failed to load (no membership/network) | Confirm you belong to a project and reconnect. The mapped-RG filter and lookups still work. |
| Mapping does not take effect after [Apply] | No permission on the target project (CSN) or API failure | Confirm your CSN permission; if it persists, contact an administrator. |
| An error message appears during query | Network error or failed API response | Retry [Run] after a moment; if it persists, contact your administrator. |
Version: 1.1
Last Updated: 2026-07-24
Source: giipv3/public/help/azure-cost.en.md