LogoLogo
  • Getting Started
    • Introduction to OneLens
    • Operational Cost of OneLens
    • Onboarding Guide
    • Accessing OneLens
  • Integrations
    • Cloud Services
      • Connect to AWS
    • Kubernetes
      • OneLens Agent
        • Onboarding a K8s Cluster
        • Artifacts
      • Enable Split Cost Allocation for EKS
  • User Guide
    • Observe ( Visibility and Insights)
      • Cost Analyzer
        • Saved Views
      • Cost Watcher
        • Cost Anomaly
      • Data Transfer Cost Reports
    • Optimize (Cost Savings & Recommendations)
      • Saving Dashboard
        • About Potential Savings
        • View Potential Savings
        • About Achieved Savings
        • View Achieved Savings
      • Policy Violations
        • Drill Down into Policy Violations
      • S3 Optimization
        • Detailed View of Buckets
        • Cost & Usage Breakdown
        • S3 Insights
    • Automate
      • Workflows & Automation
        • Triggers
        • Actions
        • Usecases
          • Automating Periodic Cloud Cost Reports
          • Automatically Create Jira Issues for New Tickets
          • Email Notifications of New Tickets
          • Configure Periodic Digests for Pending Tickets
          • Automating Cost Anomalies Email Alerts
          • Escalation of High-Value Pending Tickets
      • Remediations (Runbooks)
        • Install Runbooks
        • Runbook Catalog
          • Delete CloudWatch Alarms in Insufficient State
          • Delete EBS Snapshots for which corresponding volumes are not in use
          • Delete Idle ElastiCache/Memcached Cluster
          • Delete RDS Snapshots older than a specified period of time
          • Delete idle Classic/Application Load Balancers
          • Delete unused EBS Volumes
          • Delete unused Elastic IP
          • Delete unused NAT Gateway
          • Migrate EBS Volumes from gp2 to gp3
          • Set retention period for CloudWatch Logs
        • Execution Logs
    • Govern ( Control & Governance)
      • Cost Optimization Policies
  • Facts & FAQs
    • FAQs
      • Connect Slack Private Channels to OneLens
Powered by GitBook
On this page
  • How to View the Cost Analyzer
  • Configuring a Cost Report
  • a. Saved View
  • b. Date Range
  • c. Granularity Method
  • d. Cost Representation Type
  • e. Grouping Costs
  • f. Filters
  • Analyzing Cost Data
  • a. Key Metrics
  • b. Table
  • Export Cost Report
  1. User Guide
  2. Observe ( Visibility and Insights)

Cost Analyzer

PreviousObserve ( Visibility and Insights)NextSaved Views

Last updated 19 days ago

You can use Cost Analyzer to view and break down your cloud spend across accounts, services, regions, resources, and usage types. It supports grouping, filtering, and cost-type selection to help you analyze spend patterns.

How to View the Cost Analyzer

  1. Log into OneLens.

  2. Navigate to the Cost Analyzer from the main dashboard.

Here is how the dashboard will look like:

Number Reference

  1. Saved View

  2. Date Range

  3. Granularity

  4. Cost Type

  5. Filters

  6. Group By

  7. Hide Chart Toggle

  8. Data Display

  9. Delta By Toggle

  10. Export

Configuring a Cost Report

a. Saved View

Start with the default view for a quick overview, or switch to a custom view to tailor the dashboard layout and focus.

b. Date Range

  • Predefined Range: Quickly access relevant cost data by selecting a range such as “Last 2 Weeks” or “Month-to-Date”.

  • Custom Range: If you need to analyze costs over a specific period, define a custom date range to focus on the exact time frame.

c. Granularity Method

You can aggregate cost data in three different ways, depending on the granularity you need for your analysis:

  • Daily

  • Weekly

  • Monthly

d. Cost Representation Type

You can choose the most relevant Cost Representation Type to gain the insights you need:

  • Unblended Cost – See the raw cost before any discounts.

  • Net Unblended Cost – Get the final bill after AWS discounts are applied.

  • Blended Cost – Useful when managing accounts with shared resources.

  • Amortized Cost – See long-term costs distributed across the commitment period.

  • Net Amortized Cost – The clearest view of your true, discounted long-term spending.

e. Grouping Costs

To help structure and analyze your cloud expenditure, you can group your cost data by various dimensions.

You can group by using the following dimensions:

  • Tenancy, Tag, Region, Option, Platform, Entity, Type, Engine, Cost Center, Category, Charge, Billing, Zone, Usage Type

NOTE

OneLens supports grouping up to four levels, enabling multi-dimensional cost analysis for deeper insights.

Use case

A Finance Director needs to understand the distribution of cloud costs across different business units and resource types to find potential cost-saving opportunities.

Solution:

The finance team utilizes the Group By feature across four levels:

  • Cost Center – Groups costs based on departments, such as R&D, Marketing, and Operations.

  • Service – Break down the costs by specific AWS services within each cost center, such as EC2, RDS, and S3.

  • Instance Type – Further groups EC2 costs by instance type (e.g., m5.large, t3.medium), highlighting performance and cost considerations.

  • Resource – Identifies specific EC2 instances or RDS databases that contribute to the overall costs.

f. Filters

Filters help refine cost reports by focusing on specific data points.

Here is how you apply filters:

  1. Navigate to the Filters section in the Cost Analyzer.

  2. Select multiple conditions to filter data using an AND condition.

  3. Add rules by selecting:

    1. Field: Choose a cost attribute (e.g., Service, Account, Usage Type, Cost Center).

    2. Operator: Available operators for setting filter conditions include In or Not In.

    3. Value: Enter the specific data point to filter (e.g., EC2, us-east-1, >$1000).

  4. Click Apply to filter cost data and focus on relevant insights.

Use case

A cloud engineer wants to analyze storage costs for a specific AWS region and service to track data transfer expenses more effectively.

Solution:

The engineer applies the following filters:

  • Service: Amazon S3

  • Region: us-east-1

The Cost Analyzer then displays cost data specifically for Amazon S3 in the US-east-1 region, helping the engineer track and investigate any rising data transfer costs.

Analyzing Cost Data

Once your report is configured, you can analyze cost data using key metrics and visual trends.

a. Key Metrics

Total Cost: Shows your overall cloud expenditure for the selected period.

Total Cost Delta: Highlights variations in costs compared to the corresponding previous period, helping you track increases or reductions.

You can set the timeframe of the previous period for comparison, allowing for flexible and context-specific analysis.

Cost MTD (Month-to-Date): Displays the total accumulated cost from the start of the current month to the present date.

b. Table

The table view includes the following key columns:

Total Cost

  • Displays overall spending for the selected period.

Previous Cost

  • Refers to the cloud costs from the time period directly before the one you are currently viewing. For example:

    • If you are looking at costs for the month of March, the Previous Cost will show the expenses from February (the month immediately before March).

    • If you're looking at costs for a specific week, the Previous Cost will display the costs from the week before the one you selected.

Delta Cost

  • Highlights the difference between the selected and previous periods.

  • You can view this cost in:

    • Dollar form

    • Percentage form

Time Granularity

  • Columns for daily, weekly, or monthly breakdowns based on the selected granularity.

Data Display in Chart

  • Each row in the table contains a Display option. This option allows users to highlight data in the chart, focusing on specific cost patterns visually.

Export Cost Report

You can also export cost reports for offline analysis and sharing with stakeholders:

  1. Click on the Export button in the Cost Analyzer section.

  2. Select the preferred format for your report:

    1. CSV: Ideal for detailed data analysis and manipulation.

    2. Excel: Provides a spreadsheet version of the cost report.

Sample Export Preivew

Below is a sample of how the exported file might look: