ports/sysutils/loki/patches/patch-cmd_promtail_promtail-local-config_yaml

30 lines
679 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: clients/cmd/promtail/promtail-local-config.yaml
--- clients/cmd/promtail/promtail-local-config.yaml.orig
+++ clients/cmd/promtail/promtail-local-config.yaml
@@ -3,16 +3,16 @@ server:
grpc_listen_port: 0
positions:
- filename: /tmp/positions.yaml
+ filename: /var/promtail/positions.yaml
clients:
- url: http://localhost:3100/loki/api/v1/push
-scrape_configs:
-- job_name: system
- static_configs:
- - targets:
- - localhost
- labels:
- job: varlogs
- __path__: /var/log/*log
+#scrape_configs:
+#- job_name: system
+# static_configs:
+# - targets:
+# - localhost
+# labels:
+# job: varlogs
+# __path__: /var/log/*log