> For the complete documentation index, see [llms.txt](https://dgtnetwork.gitbook.io/dgt-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dgtnetwork.gitbook.io/dgt-docs/6.-administrator-guide/6.8-dgt-maintenance/6.8.4-log-and-monitoring.md).

# 6.8.4 Log & Monitoring

Each node has several services, each of which outputs information to Log files. After installing a node in the home directory of the platform (for example, DGT-Matagami), a «`dgt_clust`» directory appears, in which the working files of the corresponding node are stored. Each cluster and each node have their own working directory with an internal logs catalog, for example,&#x20;

«`.../DGT-Matagami/dgt_clust/c1/dgt1/logs`»:

<figure><img src="https://3210145376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSvanFNAf6Jf8kwvqcdRQ%2Fuploads%2F5snS7lvSomEg2DEC1L2v%2Fimage.png?alt=media&amp;token=ae6b00c4-3beb-4040-b135-70d77db7ef55" alt=""><figcaption><p><em>Figure 157 Log information</em></p></figcaption></figure>

If necessary, you can also connect an additional monitoring component based on Grafana/InfluxDb. The monitoring system extracts the information available to [a node](#user-content-fn-1)[^1]. To install it:

* Go to the Grafana service initialization directory «`.../DGT-Matagami/CORE/etc/Grafana`» and make the necessary settings in «grafana.ini», such as user and password settings (use admin/admin by default)
* Prior to installing and connecting a node (see [6.2](/dgt-docs/6.-administrator-guide/6.2-dgt-core-single-node-setup.md)), build and launch the Grafana service:

```
bash upDgtGrafana.sh
```

* Run a node with an additional =IDB key:

```
bash upDgtCluster.sh -G -SC -IDB -CB openssl 1 1
```

* Go to GRAFANA service (default port 3000)

```
http://[SERVER_IP]:3000
```

A typical output is shown in the figure below:

<figure><img src="https://3210145376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSvanFNAf6Jf8kwvqcdRQ%2Fuploads%2FJcjh6iltAViOeKcRt81R%2Fimage.png?alt=media&amp;token=ca9e3203-7aa5-49a5-a05e-cf5e3f82d091" alt=""><figcaption><p><em>Figure 158 Grafana Monitoring</em></p></figcaption></figure>

Grafana service uses the InfluxDB located in the «DGT-Matagami/Grafana/Grafana.db» directory. Database backup and restore is described in the [InfluxDB system manual](https://docs.influxdata.com/influxdb/v1.8/administration/backup_and_restore/).

{% hint style="info" %}
📖 READ MORE:

* [DGT Technical Deep Dive](https://dgt.world/docs/DGT_TECHNOLOGY.pdf) \[10]– a visual representation of the architecture and technology stack of the platform.
* [Ubutu Tutorials. The Linux command line for beginners](https://ubuntu.com/tutorials/command-line-for-beginners#1-overview) – a guide to using the basic commands for the Linux OS family.
* [Licenses and Standards](https://opensource.org/licenses) Error! Reference source not found.- clarifications of licenses for open source software from the Open Source Initiative (OSI)
* [Docker Engine Official Guide](https://docs.docker.com/engine/) – a guide to setting up containerization tools
  {% endhint %}

[^1]: Within DGT, a node can see only a part of the ledger information in accordance with its privacy settings
