ports/sysutils/loki/files/patch-promtail-local-config.yaml
Eren Türkay b16c0ca7d0 sysutils/loki: add promtail rc.d script
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)
2023-10-19 03:07:26 -04:00

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