Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mallozup/opensuse-loki
openSUSE documentation for running loki grafana
https://github.com/mallozup/opensuse-loki
grafana linux loki monitoring observability opensuse prometheus
Last synced: about 2 months ago
JSON representation
openSUSE documentation for running loki grafana
- Host: GitHub
- URL: https://github.com/mallozup/opensuse-loki
- Owner: MalloZup
- Created: 2019-10-03T08:03:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-12T09:52:36.000Z (over 5 years ago)
- Last Synced: 2024-10-30T08:45:36.256Z (3 months ago)
- Topics: grafana, linux, loki, monitoring, observability, opensuse, prometheus
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# opensuse-loki
Minimal openSUSE documentation for running loki grafana
https://github.com/grafana/loki#loki-like-prometheus-but-for-logs
# Howto:
### 1) install grafana and prometheus on a vm or your system
You can get the rpm via this repo:
(`https://build.opensuse.org/package/show/server:monitoring`)### 2) Install loki and promtail from rpms packages from repo:
`https://build.opensuse.org/package/show/server:monitoring/loki`Add the repository for your system and install the pkg
`zypper in loki`### 3) Activate systemd services:
In this example we assume for simplicity that promtail run in same machine like loki and grafana. ( this can be changed)
`systemctl start loki`
`systemctl enable loki`
loki is the main server, responsible for storing logs and processing queries.
___
`systemctl start promtail``systemctl enable promtail`
promtail is the agent, responsible for gathering logs and sending them to Loki.
___
### 4) Adapt config files:`/etc/loki/loki.yaml`
and
`/etc/loki/promtail.yaml`
By defaul the promtail.yaml config file should monitor the logs file which is already a valid example to get started
For more info visit:
https://github.com/grafana/loki#loki-like-prometheus-but-for-logs