Editing Promtail
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
* <code>[[brew install promtail]]</code> | * <code>[[brew install promtail]]</code> | ||
− | * [[Config]]: | + | * [[Config]]: <code>cat [[/etc/promtail/config.yml]]</code> |
− | + | * <code>[[promtail --help]]</code> | |
− | |||
− | * <code>[[promtail - | ||
− | |||
− | |||
* Helm: https://github.com/grafana/helm-charts/tree/main/charts/promtail | * Helm: https://github.com/grafana/helm-charts/tree/main/charts/promtail | ||
Line 15: | Line 11: | ||
* <code>[[helm upgrade --install]] promtail grafana/promtail --set "loki.[[serviceName]]=loki"</code> | * <code>[[helm upgrade --install]] promtail grafana/promtail --set "loki.[[serviceName]]=loki"</code> | ||
− | + | ||
promtail | promtail | ||
level=info ts=2023-12-19T12:11:36.495393Z caller=[[promtail.go]]:133 msg="Reloading configuration file" | level=info ts=2023-12-19T12:11:36.495393Z caller=[[promtail.go]]:133 msg="Reloading configuration file" | ||
md5sum=332b04dbdadb303cbe75665c1a1e2208 | md5sum=332b04dbdadb303cbe75665c1a1e2208 | ||
− | level=error ts=2023-12-19T12:11:36.495418Z caller=main.go:170 | + | level=error ts=2023-12-19T12:11:36.495418Z caller=main.go:170 msg="[[error creating promtail]]" error="[[failed to create client manager: at least one client config must be provided]]" |
+ | |||
+ | |||
== Related == | == Related == |
Advertising: