Promtail
Automatic Installer¶
One line installer¶
Danger
The curl | sh pattern, especially in conjunction with sudo, can be extremely dangerous. Be sure you trust the content of the script if you chose this install metod.
curl https://config.futurehax.com/promtail/configure.sh | sudo bash -
Manual Install¶
Install via installer¶
Download the above installer script or copy it from the text below, and manually run with sudo
Install binary¶
Install the latest package from https://github.com/grafana/loki/releases/latest
Tip
The provided setup here assumes the install location to be /usr/local/bin/promtail-linux.
Install promtail configuration file¶
Download or copy this config to get started.
Tip
The yaml file shipped contains a blank value for the hostname and syslog path. These are detected and populated when running the configuration script. If you choose to do a manual install, be sure to set these values!
The provided setup here assumes the config location to be in /etc/promtail/promtail-config.yaml.
Install promtail service file¶
Download or copy this service file to get started.
Tip
The provided setup here assumes the config location to be in /usr/local/bin/promtail-linux, change it here if needed.