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 an application name.
- 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 status to change 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 to respond to requests. The types of requests available and their response time depend on your pricing plan. You can enable paid support in the management console. Learn more about requesting technical support.
Helm chart | Version | Pull-command | Documentation |
---|---|---|---|
yandex-cloud/grafana/loki/chart/loki | 1.1.2 | Open |
Docker image | Version | Pull-command |
---|---|---|
yandex-cloud/grafana/loki/loki1711787228740188845175192186348150321748355817562 | 2.6.1 | |
prom/memcached-exporter1711787228740188845175192186348150321748355817562 | v0.6.0 | |
memcached1711787228740188845175192186348150321748355817562 | 1.6.7-alpine | |
yandex-cloud/grafana/loki/nginx-unprivileged1711787228740188845175192186348150321748355817562 | 1.19-alpine | |
yandex-cloud/grafana/loki/promtail1711787228740188845175192186348150321748355817562 | 2.7.1 |