# Grafana Promtail

Grafana Promtail is a self-hosted monitoring & logging app. Promtail is a log shipping agent that sends the contents of local logs to a private Loki instance or Grafana Cloud. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/3/grafana-promtail

## Description

Promtail is a log shipping agent that sends the contents of local logs to a private Loki instance or Grafana Cloud. It is usually deployed to every machine running applications you want to monitor. It discovers log targets, attaches labels to log streams, and pushes them to your Loki instance, keeping logs searchable and correlated with your Grafana metrics. Promtail can tail logs from local log files and the systemd journal (on AMD64 machines), and can also receive IETF Syslog (RFC 5424) messages over a TCP stream. It suits self-hosters running Loki who want lightweight, centralized log aggregation.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

84/100 (Excellent), based on 4 of 4 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 89 (29,247 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 95 (512 MB minimum RAM, runs on ARM)

## Links

- Docker Hub: https://hub.docker.com/r/grafana/promtail/
- Unraid: https://ca.unraid.net/apps/grafanapromtail-0ngyzx30g4qptf?q=GrafanaPromtail
- GitHub: https://github.com/grafana/loki
- Official website: https://grafana.com/oss/loki

## Common questions

### Do I have to move away from Promtail to send logs to Loki?

Yes, if you are currently using Promtail, you must migrate to Alloy or another supported client. The Alloy migration documentation includes a tool that converts a Promtail configuration to an Alloy configuration with a single command.

### What Promtail issue was reported on a bare-metal Loki setup?

A bare-metal Grafana Loki and Promtail setup was reported with pipeline_stages not working. The post frames it as a specific configuration issue to troubleshoot.

### Is there a Docker-focused example for visualizing logs with Promtail and Loki?

The source covers a log visualization setup using Grafana, Loki, Promtail, and Docker. It is described as helpful for building a setup around Dockerized services.

### Can logs be sent from Grafana Agent to Promtail and then to Loki in a self-hosted Grafana setup?

A community user on Grafana v10 described the goal of sending logs via Grafana Agent to Promtail and then to Loki. The snippet shows the intended flow but does not provide a confirmed solution.

## Alternatives

- Beszel: A lightweight server monitoring hub with historical data, docker stats, and alerts.
- Datadog: Datadog Agent is an on-host monitoring agent that collects metrics, logs, and traces from hosts, containers, and Kubernetes clusters and se…
- DeepFlow: Unify your cloud-native monitoring with zero-code eBPF, advanced profiling, and 10x storage efficiency.
- Grafana: Grafana is an open-source monitoring and observability platform for querying, visualizing, alerting on, and sharing dashboards for metrics…
- Kibana: Kibana is the data visualization layer for querying, analyzing, and managing data stored in Elasticsearch.
- Metabase: Metabase is a simple and powerful analytics tool which lets anyone learn and make decisions from their company’s data.
- Netdata: Netdata is a real-time performance and health monitoring solution that collects per-second metrics from your servers, containers, networks,…
- OpenSearch: OpenSearch is an open-source search and observability suite for self-hosters who need scalable indexing, analysis, and visualization of log…
- SigNoz: SigNoz is a self-hostable open-source observability platform that unifies logs, metrics, traces, alerts, and dashboards using OpenTelemetry…
- Splunk: Splunk is a self-hosted platform for collecting, indexing, searching, and analyzing log and security data, helping homelabbers and operatio…
- Tableau: Tableau helps the world’s largest organizations unleash the power of their most valuable assets: their data and their people.
- VictoriaLogs: VictoriaLogs is a high-performance, lightweight, schema-free database for logs.

---
Source: Our Local Host (https://ourlocalhost.com/app/3/grafana-promtail), the self-hosted and open-source app directory.
