# Log Usage Reporter

## Overview

The Usage Reporter gathers two usage numbers for every logging pipeline you have configured and sends them to the Mimir data source in your Grafana Dashboard.

### Benefits

* **Visibility:** See per-pipeline bytes and record counts in Grafana for quick monitoring and investigation.
* **Alerting & optimization:** Use the metrics for setting alerts and optimizing ingestion.

**Metrics**

| **Metric**                      | **Type** | **Scope**            | **Description**                                               |
| ------------------------------- | -------- | -------------------- | ------------------------------------------------------------- |
| `ionos_usage_logs_bytes_total`  | counter  | per logging pipeline | Bytes sent by the logging pipeline                            |
| `ionos_usage_logs_counts_total` | counter  | per logging pipeline | The number of log records each pipeline ingested successfully |

{% hint style="info" %}
The metrics value is the current state of the injestion that is sent every 5 minutes to your Grafana dashboard.
{% endhint %}

As the `ionos_usage_logs_bytes_total` and `ionos_usage_logs_counts_total` metrics are shown per pipeline, the label pipeline\_id="\<your‑pipeline‑uuid>" lets you separate the values in Grafana.

## View the metrics

In your Grafana dashboard, go to **Explore** → select **Mimir** as the datasource. Select `ionos_usage_logs_bytes_total` or `ionos_usage_logs_counts_total` from the **Metric** drop-down list and click **Run query** to view the metrics.
