# Logstash-output-loki

Logstash-output-loki is an output plugin for Logstash that forwards collected logs directly to Grafana Loki. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5166/logstash-output-loki

## Description

logstash-output-loki is an output plugin for Logstash that forwards collected logs directly to Grafana Loki. It lets you centralise, search, and analyse application logs from many services in one place. It suits homelab users who already run Logstash pipelines and want a direct path to a Loki-based logging stack.

## Platform availability

Available on 0 of 10 platforms.

## Health score

23/100 (Low), based on 3 of 4 factors.
- Maintained: 36 (last commit 370 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/grafana/logstash-output-loki
- GitHub: https://github.com/SimonStiil/logstash-output-loki

## Common questions

### Why does Logstash fail to load the loki output?

If the logstash-output-loki plugin is not installed, Logstash does not know how to use the loki output and fails when it loads the pipeline.

### How do I keep Logstash running on a Linux host that uses systemd?

Start the installed package service with sudo systemctl start logstash.service. It keeps Logstash running in the background instead of only while a terminal is open.

### Does the Loki output plugin INFO log confirm that logs are reaching Loki?

No. A user reported seeing only the Loki output plugin INFO log while Logstash was not pushing logs to Loki, so that line alone does not confirm delivery.

## Alternatives

- Better Stack: AI-driven monitoring platform providing incident management, real-time logs, uptime, traces, error tracking, infrastructure analytics, and…
- Datadog: Datadog Agent is an on-host monitoring agent that collects metrics, logs, and traces from hosts, containers, and Kubernetes clusters and se…
- Fluentd: Fluentd is an open-source log collector that gathers events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, H…
- Grafana Loki: Grafana Loki is an open-source log aggregation system.
- Graylog: Graylog is a centralized log management platform built on open standards for capturing, storing, and analyzing terabytes of machine data in…
- Logstash: Logstash is a server-side data processing pipeline that ingests data from many sources, transforms it, and forwards it to a destination suc…
- Sentry: Monitors applications for real-time errors, sending alerts via email, SMS, or chat, showing detailed diagnostic information and release imp…
- Splunk: Splunk is a self-hosted platform for collecting, indexing, searching, and analyzing log and security data, helping homelabbers and operatio…
- Wazuh: Wazuh is a free and open source security platform that unifies XDR and SIEM protection for endpoints and cloud workloads.
- telegraf: Telegraf is a standalone, statically compiled agent for collecting, processing, aggregating, and writing system metrics, logs, and arbitrar…

---
Source: Our Local Host (https://ourlocalhost.com/app/5166/logstash-output-loki), the self-hosted and open-source app directory.
