Menu
Grafana Cloud

Understand your Grafana Cloud Logs invoice

Grafana Cloud calculates logs usage by looking at the following components: GBs ingested and GBs retained.

GBs ingested
The total number of GBs ingested into Grafana Cloud on a monthly basis.
GBs retained
How long the logs data are retained within Grafana Cloud.

The minimum retention period is 30 days and you can purchase additional retention periods in 30-day increments.

Retention is customizable per stack or by individual streams within the same stack. To enable this, contact Support.

Fair use policy for GBs queried

GBs queried is the total number of GBs queried in Grafana Cloud on a monthly basis.

Grafana Cloud Logs pricing includes a fair use query policy that allows you to query up to 100X your ingested logs volume each month at no additional charge. Your query usage most likely will not exceed the fair use policy. If your query usage does exceed this fair use policy, there are additional pricing considerations outlined in the Billing calculations section.

Billing calculations

Billing is based on usage, and usage is determined by these primary factors:

  • The number of GBs ingested per month

  • The number of months of retention

Note

For customers exceeding the 100X fair use policy for GBs queried per month, the following billing calculations apply:

logs billable gb = max(ingested gb, queried gb / fair use query ratio)

This calculation is performed on a per-stack level.

Scenarios

  • Scenario A has 1,000 GBs ingested per month with 30-day retention, and query usage within fair use policy.

    Pricing:

    [1,000 GBs ingested * $0.40 per GB ingested] +

    [1,000 GBs ingested * $0.10 per GB retained * 1 month] =

    $500 / month

  • Scenario B has 1,000 GBs ingested per month with 60-day retention, and query usage within fair use policy.

    Pricing:

    [1,000 GBs ingested * $0.40 per GB ingested] +

    [1,000 GBs ingested * $0.10 per GB retained * 2 months] =

    $600 / month

  • Scenario C has 1,000 GBs ingested per month with 30-day retention, and query usage at 150X monthly ingest volume.

    Pricing:

    [max(1,000 GBs ingested, 150,000 GBs queried / 100) * $0.40 per GB ingested] +

    [1,000 GBs ingested * $0.10 per GB retained * 1 month] =

    $700 / month

  • Scenario D has 1,000 GBs ingested per month with 90-day retention, and query usage at 150X monthly ingest volume.

    Pricing:

    [max(1,000 GBs ingested, 150,000 GBs queried / 100) * $0.40 per GB ingested] +

    [1,000 GBs ingested * $0.10 per GB retained * 3 months] =

    $900 / month

Understand your logs bill

To understand how query usage affects your bill, see the Grafana Cloud Billing/Usage Dashboard.

To see your total billable logs usage, see the Total Billable Logs Usage panel of the dashboard.

This panel reflects the billing calculation including the query fair use policy.

To see details about the query-to-ingest ratio for the current billing period of each of your instances, see the Logs Query Rate panel.

Example query usage ratios alongside query fair use ratio

In the image that follows, the grafanaopsdemo-logs stack has a query usage ratio of 191x, which exceeds the fair use ratio of 100x, and would trigger the additional billing considerations noted in the Billing calculations section.

The sedemo-logs stack has a query usage ratio of 8.96x, which is within the fair use ratio.

<Grafana Labs query usage ratio and query fair use ratio>