# \[Loki / Promtail\] A log aggregation system

**URL:** <https://forum.yunohost.org/t/loki-promtail-a-log-aggregation-system/22936>\
**Category:** Apps\
**Tags:** peertube, grafana, english\
**Created:** [January 5, 2023, 8:51am UTC](https://forum.yunohost.org/t/loki-promtail-a-log-aggregation-system/22936 "2023-01-05T08:51:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fflorent](https://forum.yunohost.org/user_avatar/forum.yunohost.org/fflorent/32/2768_2.png) [@fflorent](https://forum.yunohost.org/u/fflorent)\
**Post date:** [January 5, 2023, 8:51am UTC](https://forum.yunohost.org/t/loki-promtail-a-log-aggregation-system/22936/1 "2023-01-05T08:51:56Z")

</div>

# Loki / Promtail for Yunohost

## Overview

Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each log stream.

It’s presented as “like Prometheus, but for logs”.

**Shipped version** : 2.7.1~ynh2

## What is packaged

Loki and Promtail are packaged altogether. Both of them their upstream code are hosted in the same Github repository and are tight together: [https://github.com/grafana/loki](https://github.com/grafana/loki)

## Use case

You may install Loki if you want to monitor some applications using Grafana.

Typically you may be interested in this application for [monitoring your PeerTube instance](https://docs.joinpeertube.org/maintain-observability).

## Limitations

Loki is not exposed to the web;

## Configuration

If you want to add pieces of configuration or overwrite the configuration, add a new file in `/etc/loki/loki.d/` for Loki or in `/etc/loki/promtail.d/` for Promtail.
