Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/send-data/alloy/scenarios/logs.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/send-data/alloy/scenarios/logs/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Menu
Grafana Cloud
Last reviewed: November 17, 2026Logs scenarios
The logs scenarios collect logs from files, network protocols, message queues, and browsers, then forward them to Loki.
| Scenario | Description |
|---|---|
| Amazon Data Firehose logs | Ingest Amazon Data Firehose deliveries with loki.source.awsfirehose. Uses a local sender. No AWS account required. |
| Azure Event Hubs logs | Ingest Azure Event Hubs messages with loki.source.azure_event_hubs. Uses a self-managed broker speaking the same wire protocol. No Azure subscription required. |
| Faro frontend observability | Collect frontend web telemetry, including logs, errors, and web vitals, from browser applications with the Faro Web SDK. |
| GELF log ingestion | Ingest Graylog Extended Log Format logs over UDP. |
| Kafka logs | Consume and process logs from Apache Kafka topics. |
| Log API gateway | Use Alloy as a centralized log gateway that accepts logs via a Loki-compatible push API endpoint. |
| Log routing | Route logs from multiple sources to different Loki tenants based on log content and origin. |
| Log secret filtering | Redact sensitive credentials and secrets from logs with pattern rules before storage. |
| Log-to-metrics | Extract a request counter and latency histogram from application logs while forwarding the raw logs to Loki. |
| Logs from file | Tail log files with Alloy. |
| Logs over TCP | Receive and process TCP logs in JSON format. |
| Popular logging frameworks | Parse logs from popular logging frameworks across 7 programming languages. |
| Promtail to Alloy migration | Run Promtail (EOL March 2026) and its alloy convert equivalent side by side against one log file and verify identical results in Loki. |
| Structured log parsing | Parse structured logs into labels and structured metadata. |
| Syslog monitoring | Monitor non-RFC5424 compliant syslog messages with rsyslog and Alloy. |
| systemd journal | Forward systemd journal entries to Loki with filters and labels tuned for fast queries. |
| Windows security events | Forward Windows Security event logs to Loki with filters and field extraction for security operations center workflows. |
Refer to the alloy-scenarios repository for the full list of scenarios.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Start with Grafana Assistant
Learn how Grafana Assistant helps teams get answers faster using AI—without writing PromQL. Join this webinar to discover prompting best practices and security FAQs.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.
Choose a product
Scroll for more