Commit 327ed29 1 parent 52fec61 commit 327ed29 Copy full SHA for 327ed29
File tree 1 file changed +34
-0
lines changed
docs/sources/send-data/promtail
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,40 @@ See the instructions [here](https://grafana.com/docs/loki/<LOKI_VERSION>/setup/i
41
41
docker run -v < local-path> :/mnt/config -v /var/log:/var/log --link loki grafana/promtail:3.0.0 --config.file=/mnt/config/promtail-config.yaml
42
42
` ` `
43
43
44
+ # # Install on MacOS with Homebrew
45
+
46
+ 1. If necessary, install [Homebrew](https://brew.sh/).
47
+
48
+ ` ` ` bash
49
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) "
50
+ ` ` `
51
+
52
+ 1. Update Homebrew.
53
+
54
+ ` ` ` bash
55
+ brew update
56
+ ` ` `
57
+
58
+ 1. Navigate to the [homebrew page for Promtail](https://formulae.brew.sh/formula/promtail).
59
+ 1. To install Promtail, run the following command:
60
+
61
+ ` ` ` bash
62
+ brew install promtail
63
+ ` ` `
64
+
65
+ 1. Check that installation was successful.
66
+ 1. Check that promtail exists in its install directory.
67
+
68
+ ` ` ` bash
69
+ which promtail
70
+ ` ` `
71
+
72
+ 1. Run promtail
73
+
74
+ ` ` ` bash
75
+ promtail
76
+ ` ` `
77
+
44
78
# # Install using Helm
45
79
46
80
1. Make sure that Helm is installed. See [Installing Helm](https://helm.sh/docs/intro/install/).
You can’t perform that action at this time.
0 commit comments