# Promtail

> Agent that ships local logs to Grafana Loki

Source: https://talira.ai/catalog/promtail-42233dry
Every listing: https://talira.ai/catalog.md

Status: Promtail's makers archived or ended it on 2 Mar 2026. Promtail reached end of life on March 2, 2026; Grafana provides no further support or updates, and all development moved to Grafana Alloy. Source: https://grafana.com/docs/loki/latest/send-data/promtail/

- Kind: Open source
- Types: Infrastructure
- Categories: [devops / observability / telemetry pipelines](https://talira.ai/categories/devops/observability/telemetry-pipelines), [devops / observability / logs](https://talira.ai/categories/devops/observability/logs)
- Platforms: linux, macos, windows, docker, kubernetes[^4][^5]
- Licence: Apache-2.0[^3]
- Pricing: Free and open source[^3]
- Pricing notes: Free and open source (Apache-2.0, in the Loki repository's clients/ directory).
- Free tier: yes[^3]
- Self-hostable: yes[^4]
- Backed by: [Grafana Labs](https://talira.ai/orgs/grafana-labs.md)
- Funding: Series D, 2024[^6]

Promtail is the log shipping agent that Grafana Labs built for [Grafana Loki](https://talira.ai/catalog/grafana-loki-r1m2vz1n.md): deployed on every machine, it discovers log files and the systemd journal, attaches labels to each log stream using [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md)-style scrape and relabel configs, and pushes batches to Loki or [Grafana](https://talira.ai/catalog/grafana-y52f1g3g.md) Cloud. It is deprecated: Grafana put it in long-term support from February 13, 2025, and it reached end of life on March 2, 2026, with no further fixes or updates; all new development happens in [Grafana Alloy](https://talira.ai/catalog/grafana-alloy-6ftnfa86.md), whose convert command migrates a Promtail config in one step. Its code lived in the Loki repository (Apache-2.0) until it was removed from the main branch in March 2026. The lambda-promtail client isn't part of the deprecation.

## Links

- Website: https://grafana.com/docs/loki/latest/send-data/promtail/
- GitHub: https://github.com/grafana/loki
- Docs: https://grafana.com/docs/loki/v3.6.x/send-data/promtail/

## Problems it solves

- tail log files on each server and push them to Loki with labels
- attach Kubernetes pod and namespace labels to container logs before they reach Loki
- read the systemd journal and forward it to a central log store
- relabel or drop log streams before shipping them, the way Prometheus relabels targets
- resume shipping logs from where it stopped after the agent restarts
- ingest old gzipped log files into Loki
- parse log lines to set labels or fix timestamps before they're stored
- find out what replaces the log agent we use for Loki now that it's end of life

## Features

- discovers log files with static and Kubernetes service discovery
- attaches labels to log streams with scrape_configs and relabel_configs
- tails local log files and the systemd journal
- pipeline stages to add or update labels, fix timestamps and rewrite log lines
- reads .gz, .z, .bz2 and .tar.gz compressed files
- positions file to resume after a restart
- batches log lines and pushes them to Loki or Grafana Cloud
- web console with /ready and /metrics endpoints

## Limitations

- Reached end of life on March 2, 2026: no more fixes, security updates or commercial support, and Grafana says to migrate to Grafana Alloy[^1]
- Only static and Kubernetes service discovery: it runs on each machine and doesn't discover targets on other machines[^2]
- Can't read .zip files or follow log rotation of compressed files: it decompresses .gz, .z, .bz2 and .tar.gz files[^2]

## Trust

Overall: 0.13 out of 1.
Signals: maintenance 0.00, adoption 0.89, momentum 0.74, community 1.00, backing 0.55, extensibility 0.00.

- last commit 5 days ago
- 1413 commits in the last 90 days
- latest release v3.7.10 11 days ago
- 29.2k GitHub stars
- 1378 contributors
- backed by Grafana Labs
- funding: Series D, 2024

Warnings:

- archived by its makers since 2 Mar 2026

## Related

- Works with [Grafana Loki](https://talira.ai/catalog/grafana-loki-r1m2vz1n.md)

## Alternatives

- [Grafana Alloy](https://talira.ai/catalog/grafana-alloy-6ftnfa86.md): OpenTelemetry Collector distribution with programmable pipelines
- [Fluent Bit](https://talira.ai/catalog/fluent-bit-d5asdcrb.md): Fast and lightweight telemetry agent for logs, metrics and traces
- [Fluentd](https://talira.ai/catalog/fluentd-eyc5b85b.md): Open source data collector for unified logging layer
- [Vector](https://talira.ai/catalog/vector-5vsbvh1r.md): A lightweight, ultra-fast tool for building observability pipelines
- [Datadog Agent](https://talira.ai/catalog/datadog-agent-r00m6wn1.md): Main repository for Datadog Agent

## Sources

[^1]: https://grafana.com/docs/loki/latest/send-data/promtail/ (checked 19 Nov 2026)
[^2]: https://grafana.com/docs/loki/v3.6.x/send-data/promtail/ (checked 19 Nov 2026)
[^3]: https://github.com/grafana/loki/blob/release-3.6.x/LICENSING.md (checked 19 Nov 2026)
[^4]: https://grafana.com/docs/loki/v3.6.x/send-data/promtail/installation/ (checked 19 Nov 2026)
[^5]: https://github.com/grafana/loki/releases/tag/v3.6.11 (checked 19 Nov 2026)
[^6]: https://grafana.com/press/2024/08/21/grafana-labs-soars-past-250m-arr-and-5000-customers-completes-270m-primary-and-secondary-transaction-and-named-a-leader-in-the-gartner-magic-quadrant-for-observability-platforms/ (checked 20 Nov 2026)
