promtail

Log agent that ships logs to Loki for centralized log aggregation

brewmacoslinux
Try with needOr install directly
Source

About

Log agent for Loki

Commands

promtail

Examples

Start promtail with a configuration file$ promtail -config.file=/etc/promtail/config.yaml
Ship Docker container logs to Loki$ promtail -config.file=config.yaml -client.url=http://localhost:3100/loki/api/v1/push
Tail and send application logs with custom labels$ promtail -config.file=promtail-config.yml -client.url=http://loki:3100/loki/api/v1/push