> For the complete documentation index, see [llms.txt](https://dev.guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.guardian.hedera.com/guardian/platform/usage-statistics/statistics.md).

# Statistics

1. [Step By Step Process](#id-1.-step-by-step-process)
2. [Demo Video](#id-2.-demo-video)

## 1. Step By Step Process

The analytics-service processes information accessible from the Hedera mirror nodes and collects various statistics

## **1. Configuration**

The service starts by navigating through Hedera structures collecting information from the root ‘topic’ which is specified in the environment variable ***INITIALIZATION\_TOPIC\_ID*** environment variable.

Owing to the high resource load the refresh of the statistical information is performed periodically. The ***ANALYTICS\_SCHEDULER*** environment variable allows to specify the time period. By default the refresh occurs weekly.

## 2. Launching UI Statistics

The docker command used to launch Statistics in [localhost:3000](http://localhost:3000/) is

```
docker-compose -f docker-compose-analytics.yml up -d --build
```

## **3. UI**

By default the system loads the data of the last successful refresh, and the delta with the prior refresh (if exists).

The UI allows users to select a particular prior snapshot of the data instead of the default last refresh.

![image1.png](/files/XtNrMrGkhxxK2YZMEjmv)

The top part of the page displays numerical statistics of the selected data snapshot (‘refresh’) and

the bottom part of the UI displays top 10 records for the selected statistic.

<figure><img src="/files/7hPpoBbQYuGOMqbK6HLp" alt=""><figcaption></figcaption></figure>

The sorting criteria can be changed by clicking on the statistics displayed in the top section of the page, or by selecting an option in the drop down list.

<figure><img src="/files/myPdSy6MvmgVZOcgAPGg" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/vlzDQKKWmJHTsRJ4wRyH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/xFqUVjb9LWRXtaHdJPCR" alt=""><figcaption></figcaption></figure>

The latest statistical refers can be exported in the format of the Excel file by clicking on the ‘Export’ button in the corresponding section of the UI.

{% hint style="info" %}
**Note:** The system exports the current state of the statistical data, not the selected refresh.
{% endhint %}

## 2. Demo Video

[Youtube](https://youtu.be/e6U68FtEbG8?si=vmIw7XY8Box_G3o4\&t=330)
