Update loki.md (#138)

* Update loki.md

* Update supported-services.md

* Fix typos

---------

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
Tiz 2024-01-17 13:36:18 +00:00 committed by GitHub
parent 54bb096b4f
commit 2be2339ec5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 6 deletions

View file

@ -8,7 +8,6 @@ This service requires the following other services:
- a [Traefik](traefik.md) reverse-proxy server
## Configuration
To enable this service, add the following configuration to your `vars.yml` file and re-run the [installation](../installing.md) process:
@ -22,10 +21,6 @@ To enable this service, add the following configuration to your `vars.yml` file
loki_enabled: true
loki_hostname: loki.example.com
########################################################################
# #
# /loki #
@ -33,7 +28,21 @@ loki_hostname: loki.example.com
########################################################################
```
### Exposing the web interface
By setting a hostname you will expose loki on this domain.
Usually you should also set up basic_auth in this case, otherwise everyone will be able to access your metrics
```yaml
loki_hostname: loki.example.org
# Uncommenting the following lines allows you to configure basic auth
# loki_basic_auth_enabled: true
# loki_basic_auth_username: ''
# loki_basic_auth_password: ''
```
## Usage
After [installing](../installing.md), ....
After [installing](../installing.md), refer to the [official documentation](https://grafana.com/docs/loki/latest/reference/api/#post-lokiapiv1push) to send logs to loki's API without an agent.
[Promtail agent](https://grafana.com/docs/loki/latest/send-data/promtail/) is coming soon.

View file

@ -32,6 +32,7 @@
| [Jitsi](https://jitsi.org/) | A fully encrypted, 100% Open Source video conferencing solution | [Link](services/jitsi.md) |
| [Keycloak](https://www.keycloak.org/) | An open source identity and access management solution. | [Link](services/keycloak.md) |
| [Lago](https://www.getlago.com/) | Open-source metering and usage-based billing | [Link](services/lago.md) |
| [Loki](https://grafana.com/docs/loki/latest/) | Oopen-source log aggregation system that helps collect, store, and analyze logs in a scalable and efficient manner | [Link](services/loki.md) |
| [linkding](https://github.com/sissbruecker/linkding/) | Bookmark manager designed to be minimal and fast. | [Link](services/linkding.md) |
| [MariaDB](https://mariadb.org/) | A powerful, open source object-relational database system | [Link](services/mariadb.md) |
| [Matrix Rooms Search API](https://gitlab.com/etke.cc/mrs/api) | A fully-featured, standalone, matrix rooms search service. | [Link](services/mrs.md) |