Loki is a horizontally scalable, highly available, multi-tenant log aggregation and storage system inspired by Prometheus. It doesn’t index the contents of logs, but rather a set of labels for each log stream.
-
Create a service account required to access Yandex Object Storage:
yc iam service-account create --name <service account name>
-
Assign the
storage.uploader
andstorage.viewer
roles to the service account. -
Create a static access key for the service account in JSON format and save it to the
sa-key.json
file:yc iam access-key create \ --service-account-name=<service account name> \ --format=json > sa-key.json
-
Configure the application:
- Namespace: Select a namespace or create a new one.
- Application name: Enter a name for the application.
- Bucket name: Specify the name of the bucket in Object Storage.
- Static access key: Paste the contents of the
sa-key.json
file. - Install Promtail: Leave the option enabled to deliver local logs to the Grafana Loki instance using the Promtail agent. This agent is usually used for applications that require regular monitoring.
-
Click Install.
-
Wait for the application to change its status to
Deployed
. -
(Optional) Access the Loki gateway within the cluster at
http://loki-gateway.<namespace>.svc.cluster.local
.
Yandex Cloud technical support is available 24/7. The types of requests you can submit and the appropriate response time depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms here.
Helm chart | Version | Pull-command | Documentation |
---|---|---|---|
yandex-cloud/grafana/loki/chart/loki | 1.2.0-7 | Open |
Docker image | Version | Pull-command |
---|---|---|
yandex-cloud/grafana/loki/loki1724340579580929049903575878834428036439571203368 | 2.9.8 | |
yandex-cloud/grafana/loki/memcached-exporter1724340579580929049903575878834428036439571203368 | v0.13.0 | |
yandex-cloud/grafana/loki/memcached1724340579580929049903575878834428036439571203368 | 1.6.21-alpine | |
yandex-cloud/grafana/loki/nginx-unprivileged1724340579580929049903575878834428036439571203368 | 1.20.2-alpine | |
yandex-cloud/grafana/loki/promtail1724340579580929049903575878834428036439571203368 | 3.0.0 |