Sending logs to Loki

Getting logs from servers, containers, Kubernetes, cloud services and network devices into self-hosted Loki with Grafana Alloy, OpenTelemetry and other supported clients.

Sending logs to Loki with Grafana Alloy

Building Alloy pipelines for Loki: collector, processing and writer components, relabeling and label choices at the edge, rate limiting noisy streams, and deploying Alloy as a DaemonSet or on hosts.

Sending logs to Loki with Fluent Bit

Shipping logs to Loki from Fluent Bit: the integrated loki output maintained by the Fluent Bit project versus Grafana's grafana-loki plugin, tail inputs, Kubernetes filters and label mapping.

Sending logs to Loki with Fluentd

Keeping an existing Fluentd estate and adding Loki as a destination with fluent-plugin-grafana-loki: installation, the Docker image, label configuration and buffering.

Collecting Windows Event Logs into Loki

Shipping Windows Event Log channels to Loki with Grafana Alloy's windowsevent source, choosing channels and labels, and noting that the Docker logging driver does not run on Windows.

Collecting systemd journal logs into Loki

Reading journald logs on Linux hosts with Grafana Alloy for Loki: the group memberships the Alloy user needs, labelling by unit, and why a missing permission collects nothing without an error.

Ingesting logs from Kafka into Loki

Consuming log topics from Apache Kafka into Loki with Alloy's loki.source.kafka or the OpenTelemetry Kafka receiver, consumer groups, and how this differs from Loki's own Kafka-based ingestion.

Sending Azure and Google Cloud logs to Loki

Bringing cloud platform logs into self-hosted Loki: Azure logs through Event Hubs' Kafka endpoint and Google Cloud logs through Pub/Sub subscriptions with Grafana Alloy, and the pricing tier requirement on Event Hubs.

Shipping Docker container logs to Loki

Choosing between Alloy and the Loki Docker logging driver for container logs, the driver's lower support commitment and Windows limitation, and configuring labels per container.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.