Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update Promtail installation (backport release-3.0.x) #14475

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/sources/send-data/promtail/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,40 @@ See the instructions [here](https://grafana.com/docs/loki/<LOKI_VERSION>/setup/i
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
```

## Install on MacOS with Homebrew

1. If necessary, install [Homebrew](https://brew.sh/).

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

1. Update Homebrew.

```bash
brew update
```

1. Navigate to the [homebrew page for Promtail](https://formulae.brew.sh/formula/promtail).
1. To install Promtail, run the following command:

```bash
brew install promtail
```

1. Check that installation was successful.
1. Check that promtail exists in its install directory.

```bash
which promtail
```

1. Run promtail

```bash
promtail
```

## Install using Helm

1. Make sure that Helm is installed. See [Installing Helm](https://helm.sh/docs/intro/install/).
Expand Down
Loading