mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 23:09:19 -04:00
Promtail is a log reader and it can be run as a service to gather the logs to be sent to remote loki server. For nodes that need to send logs only, promtail service and configuration file is needed PR: 274194, 274473 Signed-off-by: Christopher Beppler <freebsd@funzi.org> Approved by: Chirstopher Beppler <freebsd@funzi.org> (maintainer)
11 lines
373 B
YAML
11 lines
373 B
YAML
--- clients/cmd/promtail/promtail-local-config.yaml.orig 2023-10-05 01:40:22.549761000 +0000
|
|
+++ clients/cmd/promtail/promtail-local-config.yaml 2023-10-05 01:41:28.869261000 +0000
|
|
@@ -3,7 +3,7 @@
|
|
grpc_listen_port: 0
|
|
|
|
positions:
|
|
- filename: /tmp/positions.yaml
|
|
+ filename: /var/db/promtail/positions.yaml
|
|
|
|
clients:
|
|
- url: http://localhost:3100/loki/api/v1/push
|