{
  "name": "Log Cost Breakdown",
  "url": "https://tools.finitizer.com/log-cost-breakdown",
  "reviewed": "2026-11-23",
  "pricesVerified": "2026-11-08",
  "purpose": "Paste the output of a read-only CloudWatch, Google Cloud or Datadog command and see each log source's part of the bill, the change that fits its kind, and the setting that makes it. Read in your browser, never sent.",
  "sources": [
    {
      "id": "gcp-cloud-logging",
      "label": "Google Cloud Logging storage and retention",
      "url": "https://cloud.google.com/products/observability/pricing",
      "verifiedAt": "2026-11-08"
    },
    {
      "id": "gcp-network-telemetry",
      "label": "Google Cloud network telemetry (VPC Flow, firewall, Cloud NAT logs)",
      "url": "https://cloud.google.com/vpc/network-pricing",
      "verifiedAt": "2026-11-08"
    },
    {
      "id": "aws-cloudwatch-logs",
      "label": "Amazon CloudWatch Logs, 11 Regions",
      "url": "https://aws.amazon.com/cloudwatch/pricing/",
      "verifiedAt": "2026-11-08"
    },
    {
      "id": "datadog-logs",
      "label": "Datadog Log Management, all six sites",
      "url": "https://www.datadoghq.com/pricing/?product=log-management",
      "verifiedAt": "2026-11-08"
    }
  ],
  "input": {
    "commands": {
      "cloudwatch": [
        {
          "label": "Measured: IncomingBytes by log group, a day at a time for two weeks",
          "where": "AWS CloudShell or a Linux shell with the AWS CLI; on macOS, install coreutils and use gdate. Needs cloudwatch:GetMetricData. Run it in each Region.",
          "command": "aws cloudwatch get-metric-data --start-time \"$(date -u -d '-14 days' +%Y-%m-%dT00:00:00Z)\" --end-time \"$(date -u +%Y-%m-%dT00:00:00Z)\" --metric-data-queries '[{\"Id\":\"q1\",\"Expression\":\"SELECT SUM(IncomingBytes) FROM SCHEMA(\\\"AWS/Logs\\\", LogGroupName) GROUP BY LogGroupName ORDER BY SUM() DESC LIMIT 50\",\"Period\":86400}]'"
        },
        {
          "label": "Estimated: stored bytes and retention of every log group",
          "where": "Same shell. Needs logs:DescribeLogGroups. Shows which groups never expire.",
          "command": "aws logs describe-log-groups --output json"
        }
      ],
      "gcp": [
        {
          "label": "Measured: bytes stored by log name, a day at a time for two weeks",
          "where": "Cloud Shell. Needs monitoring.timeSeries.list (Monitoring Viewer). Replace PROJECT_ID; run it for each project that holds logs.",
          "command": "curl -s -G -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \"https://monitoring.googleapis.com/v3/projects/PROJECT_ID/timeSeries\" --data-urlencode 'filter=metric.type=\"logging.googleapis.com/byte_count\"' --data-urlencode \"interval.startTime=$(date -u -d '-14 days' +%Y-%m-%dT00:00:00Z)\" --data-urlencode \"interval.endTime=$(date -u +%Y-%m-%dT00:00:00Z)\" --data-urlencode \"aggregation.alignmentPeriod=86400s\" --data-urlencode \"aggregation.perSeriesAligner=ALIGN_SUM\" --data-urlencode \"aggregation.crossSeriesReducer=REDUCE_SUM\" --data-urlencode \"aggregation.groupByFields=metric.label.log\""
        }
      ],
      "datadog": [
        {
          "label": "Measured: bytes ingested by service, a day at a time for two weeks",
          "where": "A Linux shell or Cloud Shell; on macOS, install coreutils and use gdate. Needs an API key and an application key with metrics read. Use your site's API host, for example api.datadoghq.eu.",
          "command": "curl -s -G \"https://api.datadoghq.com/api/v1/query\" -H \"DD-API-KEY: ${DD_API_KEY}\" -H \"DD-APPLICATION-KEY: ${DD_APP_KEY}\" --data-urlencode \"from=$(date -u -d '-14 days' +%s)\" --data-urlencode \"to=$(date -u +%s)\" --data-urlencode \"query=sum:datadog.estimated_usage.logs.ingested_bytes{*} by {service}.as_count().rollup(sum, 86400)\""
        }
      ]
    },
    "table": "Or a table with a name column and gb_per_day (gib_per_day on Google) or bytes_per_day, comma, tab or semicolon separated. Sizes may carry a unit, such as 40 GB.",
    "examples": {
      "cloudwatch": "{\n  \"MetricDataResults\": [\n    {\n      \"Id\": \"q1_0\",\n      \"Label\": \"/aws/lambda/checkout-api\",\n      \"Timestamps\": [\n        \"2026-11-09T00:00:00Z\",\n        \"2026-11-08T00:00:00Z\",\n        \"2026-11-07T00:00:00Z\"\n      ],\n      \"Values\": [\n        77600000000,\n        80000000000,\n        82400000000\n      ],\n      \"StatusCode\": \"Complete\"\n    },\n    {\n      \"Id\": \"q1_1\",\n      \"Label\": \"/ecs/storefront/web\",\n      \"Timestamps\": [\n        \"2026-11-09T00:00:00Z\",\n        \"2026-11-08T00:00:00Z\",\n        \"2026-11-07T00:00:00Z\"\n      ],\n      \"Values\": [\n        58200000000,\n        60000000000,\n        61800000000\n      ],\n      \"StatusCode\": \"Complete\"\n    },\n    {\n      \"Id\": \"q1_2\",\n      \"Label\": \"vpc-flow-logs/prod\",\n      \"Timestamps\": [\n        \"2026-11-09T00:00:00Z\",\n        \"2026-11-08T00:00:00Z\",\n        \"2026-11-07T00:00:00Z\"\n      ],\n      \"Values\": [\n        48500000000,\n        50000000000,\n        51500000000\n      ],\n      \"StatusCode\": \"Complete\"\n    },\n    {\n      \"Id\": \"q1_3\",\n      \"Label\": \"/aws/apigateway/access-logs\",\n      \"Timestamps\": [\n        \"2026-11-09T00:00:00Z\",\n        \"2026-11-08T00:00:00Z\",\n        \"2026-11-07T00:00:00Z\"\n      ],\n      \"Values\": [\n        24250000000,\n        25000000000,\n        25750000000\n      ],\n      \"StatusCode\": \"Complete\"\n    },\n    {\n      \"Id\": \"q1_4\",\n      \"Label\": \"/aws/eks/prod/cluster\",\n      \"Timestamps\": [\n        \"2026-11-09T00:00:00Z\",\n        \"2026-11-08T00:00:00Z\",\n        \"2026-11-07T00:00:00Z\"\n      ],\n      \"Values\": [\n        14550000000,\n        15000000000,\n        15450000000\n      ],\n      \"StatusCode\": \"Complete\"\n    },\n    {\n      \"Id\": \"q1_5\",\n      \"Label\": \"cloudtrail/management-events\",\n      \"Timestamps\": [\n        \"2026-11-09T00:00:00Z\",\n        \"2026-11-08T00:00:00Z\",\n        \"2026-11-07T00:00:00Z\"\n      ],\n      \"Values\": [\n        7760000000,\n        8000000000,\n        8240000000\n      ],\n      \"StatusCode\": \"Complete\"\n    }\n  ],\n  \"Messages\": []\n}",
      "gcp": "{\n  \"timeSeries\": [\n    {\n      \"metric\": {\n        \"type\": \"logging.googleapis.com/byte_count\",\n        \"labels\": {\n          \"log\": \"stdout\"\n        }\n      },\n      \"resource\": {\n        \"type\": \"global\",\n        \"labels\": {}\n      },\n      \"metricKind\": \"DELTA\",\n      \"valueType\": \"INT64\",\n      \"points\": [\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-09T00:00:00Z\",\n            \"endTime\": \"2026-11-10T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"124983548314\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-08T00:00:00Z\",\n            \"endTime\": \"2026-11-09T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"128849018880\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-07T00:00:00Z\",\n            \"endTime\": \"2026-11-08T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"132714489446\"\n          }\n        }\n      ]\n    },\n    {\n      \"metric\": {\n        \"type\": \"logging.googleapis.com/byte_count\",\n        \"labels\": {\n          \"log\": \"compute.googleapis.com/vpc_flows\"\n        }\n      },\n      \"resource\": {\n        \"type\": \"global\",\n        \"labels\": {}\n      },\n      \"metricKind\": \"DELTA\",\n      \"valueType\": \"INT64\",\n      \"points\": [\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-09T00:00:00Z\",\n            \"endTime\": \"2026-11-10T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"62491774157\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-08T00:00:00Z\",\n            \"endTime\": \"2026-11-09T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"64424509440\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-07T00:00:00Z\",\n            \"endTime\": \"2026-11-08T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"66357244723\"\n          }\n        }\n      ]\n    },\n    {\n      \"metric\": {\n        \"type\": \"logging.googleapis.com/byte_count\",\n        \"labels\": {\n          \"log\": \"requests\"\n        }\n      },\n      \"resource\": {\n        \"type\": \"global\",\n        \"labels\": {}\n      },\n      \"metricKind\": \"DELTA\",\n      \"valueType\": \"INT64\",\n      \"points\": [\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-09T00:00:00Z\",\n            \"endTime\": \"2026-11-10T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"46868830618\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-08T00:00:00Z\",\n            \"endTime\": \"2026-11-09T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"48318382080\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-07T00:00:00Z\",\n            \"endTime\": \"2026-11-08T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"49767933542\"\n          }\n        }\n      ]\n    },\n    {\n      \"metric\": {\n        \"type\": \"logging.googleapis.com/byte_count\",\n        \"labels\": {\n          \"log\": \"cloudaudit.googleapis.com/data_access\"\n        }\n      },\n      \"resource\": {\n        \"type\": \"global\",\n        \"labels\": {}\n      },\n      \"metricKind\": \"DELTA\",\n      \"valueType\": \"INT64\",\n      \"points\": [\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-09T00:00:00Z\",\n            \"endTime\": \"2026-11-10T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"31245887078\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-08T00:00:00Z\",\n            \"endTime\": \"2026-11-09T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"32212254720\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-07T00:00:00Z\",\n            \"endTime\": \"2026-11-08T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"33178622362\"\n          }\n        }\n      ]\n    },\n    {\n      \"metric\": {\n        \"type\": \"logging.googleapis.com/byte_count\",\n        \"labels\": {\n          \"log\": \"kubelet\"\n        }\n      },\n      \"resource\": {\n        \"type\": \"global\",\n        \"labels\": {}\n      },\n      \"metricKind\": \"DELTA\",\n      \"valueType\": \"INT64\",\n      \"points\": [\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-09T00:00:00Z\",\n            \"endTime\": \"2026-11-10T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"18747532247\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-08T00:00:00Z\",\n            \"endTime\": \"2026-11-09T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"19327352832\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-07T00:00:00Z\",\n            \"endTime\": \"2026-11-08T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"19907173417\"\n          }\n        }\n      ]\n    },\n    {\n      \"metric\": {\n        \"type\": \"logging.googleapis.com/byte_count\",\n        \"labels\": {\n          \"log\": \"run.googleapis.com/stdout\"\n        }\n      },\n      \"resource\": {\n        \"type\": \"global\",\n        \"labels\": {}\n      },\n      \"metricKind\": \"DELTA\",\n      \"valueType\": \"INT64\",\n      \"points\": [\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-09T00:00:00Z\",\n            \"endTime\": \"2026-11-10T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"12498354831\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-08T00:00:00Z\",\n            \"endTime\": \"2026-11-09T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"12884901888\"\n          }\n        },\n        {\n          \"interval\": {\n            \"startTime\": \"2026-11-07T00:00:00Z\",\n            \"endTime\": \"2026-11-08T00:00:00Z\"\n          },\n          \"value\": {\n            \"int64Value\": \"13271448945\"\n          }\n        }\n      ]\n    }\n  ],\n  \"unit\": \"By\"\n}",
      "datadog": "{\n  \"status\": \"ok\",\n  \"res_type\": \"time_series\",\n  \"series\": [\n    {\n      \"metric\": \"datadog.estimated_usage.logs.ingested_bytes\",\n      \"scope\": \"service:storefront-web\",\n      \"tag_set\": [\n        \"service:storefront-web\"\n      ],\n      \"interval\": 86400,\n      \"pointlist\": [\n        [\n          1794009600000,\n          87300000000\n        ],\n        [\n          1794096000000,\n          90000000000\n        ],\n        [\n          1794182400000,\n          92700000000\n        ]\n      ]\n    },\n    {\n      \"metric\": \"datadog.estimated_usage.logs.ingested_bytes\",\n      \"scope\": \"service:nginx-ingress\",\n      \"tag_set\": [\n        \"service:nginx-ingress\"\n      ],\n      \"interval\": 86400,\n      \"pointlist\": [\n        [\n          1794009600000,\n          67900000000\n        ],\n        [\n          1794096000000,\n          70000000000\n        ],\n        [\n          1794182400000,\n          72100000000\n        ]\n      ]\n    },\n    {\n      \"metric\": \"datadog.estimated_usage.logs.ingested_bytes\",\n      \"scope\": \"service:kube-system\",\n      \"tag_set\": [\n        \"service:kube-system\"\n      ],\n      \"interval\": 86400,\n      \"pointlist\": [\n        [\n          1794009600000,\n          29100000000\n        ],\n        [\n          1794096000000,\n          30000000000\n        ],\n        [\n          1794182400000,\n          30900000000\n        ]\n      ]\n    },\n    {\n      \"metric\": \"datadog.estimated_usage.logs.ingested_bytes\",\n      \"scope\": \"service:orders-lambda\",\n      \"tag_set\": [\n        \"service:orders-lambda\"\n      ],\n      \"interval\": 86400,\n      \"pointlist\": [\n        [\n          1794009600000,\n          19400000000\n        ],\n        [\n          1794096000000,\n          20000000000\n        ],\n        [\n          1794182400000,\n          20600000000\n        ]\n      ]\n    },\n    {\n      \"metric\": \"datadog.estimated_usage.logs.ingested_bytes\",\n      \"scope\": \"service:vpc-flow\",\n      \"tag_set\": [\n        \"service:vpc-flow\"\n      ],\n      \"interval\": 86400,\n      \"pointlist\": [\n        [\n          1794009600000,\n          14550000000\n        ],\n        [\n          1794096000000,\n          15000000000\n        ],\n        [\n          1794182400000,\n          15450000000\n        ]\n      ]\n    }\n  ]\n}"
    }
  },
  "method": {
    "together": "The sources are priced as one bill on the provider's own charges, since free allotments and tiers apply to the account or project, then each charge is split by what each source adds to it. The rows add up to the bill.",
    "kinds": "Each source's kind is guessed from its name. CloudWatch: Lambda, VPC Flow, WAF and /aws/vendedlogs/ groups are vended logs on their own tiers. Google: VPC Flow, firewall and Cloud NAT logs are stored at their own rate and also pay to be generated. Datadog prices every log the same way.",
    "cloudwatch": "Ingestion per GB by Region, 5 GB free; vended logs on four tiers; storage on compressed bytes for the days kept. Logs that never expire: storage is the months held, and a change keeps what is already stored.",
    "gcp": "$0.5 per GiB stored, 50 GiB free per project; network logs $0.25 per GiB stored plus generation; $0.01 per GiB a month past 30 days.",
    "datadog": "Ingestion per GB of every log sent; indexing per million events for the share indexed, at the index retention and plan. Events are GB divided by the average event size."
  },
  "settings": {
    "defaults": {
      "provider": "cloudwatch",
      "region": "us-east-1",
      "retentionDays": 0,
      "monthsKept": 12,
      "projects": 1,
      "datadogSite": "us",
      "datadogPlan": "annual",
      "indexedShare": 1,
      "eventBytes": 1000
    },
    "retentionByProvider": {
      "gcp": 30,
      "cloudwatch": 0,
      "datadog": 15,
      "cloudwatchOptions": [
        1,
        3,
        5,
        7,
        14,
        30,
        60,
        90,
        120,
        150,
        180,
        365,
        400,
        545,
        731,
        1096,
        1827,
        2192,
        2557,
        2922,
        3288,
        3653,
        0
      ],
      "datadogOptions": [
        3,
        7,
        15,
        30
      ]
    },
    "limits": {
      "projects": {
        "min": 1,
        "max": 1000
      },
      "monthsKept": {
        "min": 1,
        "max": 120
      },
      "indexedShare": {
        "min": 0,
        "max": 1
      },
      "eventBytes": {
        "min": 50,
        "max": 1000000
      },
      "gcpRetentionDays": {
        "min": 1,
        "max": 3650
      }
    },
    "regions": [
      "us-east-1",
      "us-west-2",
      "ca-central-1",
      "eu-west-1",
      "eu-west-2",
      "eu-central-1",
      "ap-south-1",
      "ap-southeast-1",
      "ap-southeast-2",
      "ap-northeast-1",
      "sa-east-1"
    ],
    "datadogSites": [
      {
        "id": "us",
        "name": "US1, US3 or US5"
      },
      {
        "id": "eu",
        "name": "EU1"
      },
      {
        "id": "ap1",
        "name": "AP1"
      },
      {
        "id": "ap2",
        "name": "AP2"
      },
      {
        "id": "uk1",
        "name": "UK1"
      },
      {
        "id": "us-fed",
        "name": "US1-FED"
      }
    ],
    "datadogPlans": [
      "annual",
      "monthly",
      "onDemand"
    ]
  },
  "api": {
    "endpoint": "https://tools.finitizer.com/log-cost-breakdown/api",
    "openapi": "https://tools.finitizer.com/log-cost-breakdown/openapi.json",
    "maxBytes": 7000000,
    "rateLimit": "20 reports a minute per caller",
    "keyRequired": false
  },
  "workedExample": {
    "input": "The made-up CloudWatch example on the page (US East, logs that never expire, 12 months held), with the change that fits each source.",
    "report": {
      "tool": "log-cost-breakdown",
      "pricesVerified": "2026-11-08",
      "provider": "cloudwatch",
      "providerLabel": "Amazon CloudWatch Logs",
      "unit": "GB",
      "settings": {
        "region": "us-east-1",
        "retentionDays": 0,
        "monthsKept": 12,
        "projects": null,
        "datadogSite": null,
        "datadogPlan": null,
        "indexedShare": null,
        "eventBytes": null
      },
      "basis": "CloudWatch list prices, US East (N. Virginia), Standard log class.",
      "perDay": 238,
      "todayMonthly": 4138.15,
      "afterMonthly": 2632.53,
      "savingMonthly": 1505.63,
      "sourceCount": 6,
      "sources": [
        {
          "name": "/aws/lambda/checkout-api",
          "kind": "serverless",
          "kindLabel": "Lambda functions",
          "perDay": 80,
          "change": "drop",
          "changeLabel": "Drop part",
          "amount": 0.5,
          "todayMonthly": 1391.82,
          "afterMonthly": 783.48,
          "shareOfBill": 0.3363,
          "howTo": "Set the function's logging_config to log_format JSON with application_log_level WARN (and system_log_level WARN): Lambda then does not send lines below that level.",
          "fits": null
        },
        {
          "name": "/ecs/storefront/web",
          "kind": "app",
          "kindLabel": "Application",
          "perDay": 60,
          "change": "drop",
          "changeLabel": "Drop part",
          "amount": 0.2,
          "todayMonthly": 1042.47,
          "afterMonthly": 859.62,
          "shareOfBill": 0.2519,
          "howTo": "Raise the log level, or drop lines in the CloudWatch agent or Fluent Bit (a grep filter with Exclude) before they are sent. CloudWatch bills every byte that arrives.",
          "fits": null
        },
        {
          "name": "vpc-flow-logs/prod",
          "kind": "network",
          "kindLabel": "VPC Flow and other vended logs",
          "perDay": 50,
          "change": "trim",
          "changeLabel": "Trim fields",
          "amount": 0.4,
          "todayMonthly": 869.88,
          "afterMonthly": 565.72,
          "shareOfBill": 0.2102,
          "howTo": "Create the flow log with a custom log_format that lists only the fields you query; the default format has 14.",
          "fits": null
        },
        {
          "name": "/aws/apigateway/access-logs",
          "kind": "request",
          "kindLabel": "Requests and load balancers",
          "perDay": 25,
          "change": "sample",
          "changeLabel": "Sample",
          "amount": 0.1,
          "todayMonthly": 434.36,
          "afterMonthly": 92.67,
          "shareOfBill": 0.105,
          "howTo": "Sample in the application's logger or in Fluent Bit, keeping 10%, so the rest never arrives.",
          "fits": null
        },
        {
          "name": "/aws/eks/prod/cluster",
          "kind": "platform",
          "kindLabel": "Kubernetes and system",
          "perDay": 15,
          "change": "drop",
          "changeLabel": "Drop part",
          "amount": 0.3,
          "todayMonthly": 260.62,
          "afterMonthly": 192.15,
          "shareOfBill": 0.063,
          "howTo": "On EKS, turn on only the control plane log types you read (enabled_cluster_log_types).",
          "fits": null
        },
        {
          "name": "cloudtrail/management-events",
          "kind": "audit",
          "kindLabel": "CloudTrail and audit",
          "perDay": 8,
          "change": "keep",
          "changeLabel": "No change",
          "amount": 0,
          "todayMonthly": 139,
          "afterMonthly": 138.89,
          "shareOfBill": 0.0336,
          "howTo": null,
          "fits": null,
          "auditNote": "Check what compliance needs first. A trail that also writes to S3 already keeps a copy there."
        }
      ],
      "today": [
        {
          "id": "ingest",
          "label": "Logs ingested",
          "monthly": 1640,
          "note": "3,285 GB at $0.50 per GB, less 5 GB free."
        },
        {
          "id": "vended",
          "label": "Vended logs ingested",
          "monthly": 1977.08,
          "note": "3,954 GB of VPC Flow Logs, Lambda and other AWS service logs, from $0.50 per GB, cheaper above 10 TB."
        },
        {
          "id": "storage",
          "label": "Storage",
          "monthly": 521.07,
          "note": "17,374 GB held compressed (20% of raw) for 12 months so far, never expiring, at $0.03 per GB a month. Grows by $43.44 every month until you set a retention."
        },
        {
          "id": "insights",
          "label": "Logs Insights queries",
          "monthly": 0,
          "note": "0 GB scanned at $0.005 per GB, less 5 GB free."
        }
      ],
      "after": [
        {
          "id": "ingest",
          "label": "Logs ingested",
          "monthly": 1046.88,
          "note": "2,099 GB at $0.50 per GB, less 5 GB free."
        },
        {
          "id": "vended",
          "label": "Vended logs ingested",
          "monthly": 1064.58,
          "note": "2,129 GB of VPC Flow Logs, Lambda and other AWS service logs, from $0.50 per GB, cheaper above 10 TB."
        },
        {
          "id": "storage",
          "label": "Storage",
          "monthly": 521.07,
          "note": "17,374 GB held compressed (20% of raw) for 12 months so far, never expiring, at $0.03 per GB a month. Grows by $43.44 every month until you set a retention. Already stored, so it stays after the changes."
        },
        {
          "id": "insights",
          "label": "Logs Insights queries",
          "monthly": 0,
          "note": "0 GB scanned at $0.005 per GB, less 5 GB free."
        }
      ],
      "notes": [
        "Read over 3 days; a day a group has no value counts as nothing written.",
        "IncomingBytes is the uncompressed size, which is what CloudWatch ingestion bills.",
        "Each kind is a guess from the name: check it, since it sets how the source is priced and what fits it.",
        "These logs never expire, so what is already stored stays and keeps billing: a change cuts what arrives from now on, and only slows how fast storage grows."
      ],
      "assumptions": [
        "Priced together, since free allotments and tiers apply to the account or project, then each charge split by what each source adds to it. The rows add up to the bill.",
        "Each source's kind is a guess from its name. It sets the price (vended and network logs have their own rates) and the change that fits.",
        "One retention for all the sources, in steady state: storage is the volume a day times the days kept.",
        "Logs Insights queries, archives and the provider's own levers are not priced here; the Cloud Logging Cost Calculator prices them.",
        "List prices in US dollars, before tax, credits or discounts."
      ]
    }
  },
  "dataFile": "https://tools.finitizer.com/log-cost-breakdown/data.json"
}
