# Grafana Alloy

**URL:** https://community.grafana.com/c/grafana-alloy/69.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [About the Grafana Alloy category](https://community.grafana.com/t/about-the-grafana-alloy-category/84263)

<div class="topic-metadata">

**Author:** [@elyssaemrich](https://community.grafana.com/u/elyssaemrich)\
**Replies:** 4\
**Last updated:** [August 1, 2024, 6:20am UTC](https://community.grafana.com/t/about-the-grafana-alloy-category/84263 "2024-08-01T06:20:20Z")

</div>

Ask questions and give feedback on Grafana Alloy— Grafana Alloy is Grafana Labs’ distribution of the OpenTelemetry Collector. It is an OTLP-compatible collector with built-in Prometheus optimizations that also supports …

---

## [Grafana Alloy : Oracle DB Monitoring using Alloy exporter : Issue using SID](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691)

<div class="topic-metadata">

**Author:** [@sr53972](https://community.grafana.com/u/sr53972)\
**Replies:** 1\
**Last updated:** [October 19, 2026, 5:23pm UTC](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691 "2026-10-19T17:23:16Z")

</div>

Team, I am using v17.x alloy agent with oracle exporter and unable to use the DB Connection string with SID, running in to issue : ORA-12514: TNS:listener does not currently know of service requested in connect descrip…

---

## [Best-practice for Alloy daemonset and scrape of K8s service](https://community.grafana.com/t/best-practice-for-alloy-daemonset-and-scrape-of-k8s-service/164684)

<div class="topic-metadata">

**Author:** [@antoinetran11w](https://community.grafana.com/u/antoinetran11w)\
**Replies:** 4\
**Last updated:** [October 16, 2026, 8:15am UTC](https://community.grafana.com/t/best-practice-for-alloy-daemonset-and-scrape-of-k8s-service/164684 "2026-10-16T08:15:33Z")

</div>

Hi! So we are deploying Alloy helm chart to K8S cluster as daemonset and clustering mode. Alloy pods all scrapes Kubernetes logs, only those of the same node of the alloy pods thanks to doc: discovery.kubernetes | Graf…

---

## [Diff Integration vs exporter oracle db](https://community.grafana.com/t/diff-integration-vs-exporter-oracle-db/154853)

<div class="topic-metadata">

**Author:** [@sambarimanikanta](https://community.grafana.com/u/sambarimanikanta)\
**Replies:** 2\
**Last updated:** [September 15, 2026, 2:42pm UTC](https://community.grafana.com/t/diff-integration-vs-exporter-oracle-db/154853 "2026-09-15T14:42:46Z")

</div>

Hi My applications are heavily using oracle db, completely dependent on the enterprises level features offered by the oracle db I want to use alloy to capture the metrics of the oracle db, standard metrics, tables data, …

---

## [Windows \_ logs are missing at the start of each hour](https://community.grafana.com/t/windows-logs-are-missing-at-the-start-of-each-hour/164178)

<div class="topic-metadata">

**Author:** [@narayanak14](https://community.grafana.com/u/narayanak14)\
**Replies:** 4\
**Last updated:** [August 25, 2026, 2:24am UTC](https://community.grafana.com/t/windows-logs-are-missing-at-the-start-of-each-hour/164178 "2026-08-25T02:24:48Z")

</div>

We have installed Grafana Alloy v1.14.0-rc.1 as a Windows service using alloy-installer-windows-amd64. We are experiencing an issue with hourly log rotation where logs generated at the start of each hour are missing. We…

---

## [Grafana Alloy for Low Badwith environments](https://community.grafana.com/t/grafana-alloy-for-low-badwith-environments/163903)

<div class="topic-metadata">

**Author:** [@eliezerlopesstorage](https://community.grafana.com/u/eliezerlopesstorage)\
**Replies:** 0\
**Last updated:** [July 24, 2026, 3:29pm UTC](https://community.grafana.com/t/grafana-alloy-for-low-badwith-environments/163903 "2026-07-24T15:29:47Z")

</div>

Hi everyone, I’m currently evaluating Grafana Alloy for a fleet of edge devices (primarily vessels) where network conditions vary significantly between deployments. Some edges have stable, high-bandwidth links, while ot…

---

## [Grafana Alloy logs for Windows / Loki / Grafana](https://community.grafana.com/t/grafana-alloy-logs-for-windows-loki-grafana/163493)

<div class="topic-metadata">

**Author:** [@soifdeconnaissances](https://community.grafana.com/u/soifdeconnaissances)\
**Replies:** 4\
**Last updated:** [July 3, 2026, 8:11am UTC](https://community.grafana.com/t/grafana-alloy-logs-for-windows-loki-grafana/163493 "2026-07-03T08:11:18Z")

</div>

Hello everyone, I’m trying to use Grafana Alloy to collect only Windows Event Logs and send them to Loki. Here is my config.alloy: logging { level = "info" } loki.source.windowsevent "system" { eventlog\_name = "Sy…

---

## [Clarify: "loki.source.journal" "legacy\_position" behavior when migrating from Promtail to Alloy (avoid duplicate logs)](https://community.grafana.com/t/clarify-loki-source-journal-legacy-position-behavior-when-migrating-from-promtail-to-alloy-avoid-duplicate-logs/163400)

<div class="topic-metadata">

**Author:** [@abhinavmishra1](https://community.grafana.com/u/abhinavmishra1)\
**Replies:** 0\
**Last updated:** [June 24, 2026, 8:24am UTC](https://community.grafana.com/t/clarify-loki-source-journal-legacy-position-behavior-when-migrating-from-promtail-to-alloy-avoid-duplicate-logs/163400 "2026-06-24T08:24:41Z")

</div>

I’m migrating from Promtail to Grafana Alloy for reading systemd journal logs and want to avoid duplicate log entries in Loki during an in‑place migration. I’ve read the migration and component docs, but the behavior of…

---

## [Using alloy with docker compose and managed Loki](https://community.grafana.com/t/using-alloy-with-docker-compose-and-managed-loki/162982)

<div class="topic-metadata">

**Author:** [@biteatertest](https://community.grafana.com/u/biteatertest)\
**Replies:** 0\
**Last updated:** [May 21, 2026, 10:20am UTC](https://community.grafana.com/t/using-alloy-with-docker-compose-and-managed-loki/162982 "2026-05-21T10:20:11Z")

</div>

My config.alloy discovery.docker "oja" { host = "unix:///var/run/docker.sock" refresh\_interval = "5s" } discovery.relabel "oja" { targets = discovery.docker.oja.targets rule { source\_labels = \[…

---

## [Docker logs have timestamp too old](https://community.grafana.com/t/docker-logs-have-timestamp-too-old/125236)

<div class="topic-metadata">

**Author:** [@rhaidiz](https://community.grafana.com/u/rhaidiz)\
**Replies:** 29\
**Last updated:** [May 20, 2026, 2:54pm UTC](https://community.grafana.com/t/docker-logs-have-timestamp-too-old/125236 "2026-05-20T14:54:12Z")

</div>

Hello all, for the past weeks I’ve been an issue with Grafana Alloy. I’m running it into a few machines as part of my home lab setup, where I want to collect the logs of some docker containers. I’ve noticed that, after…

---

## [Zone aware metrics scraping?](https://community.grafana.com/t/zone-aware-metrics-scraping/162688)

<div class="topic-metadata">

**Author:** [@weastie](https://community.grafana.com/u/weastie)\
**Replies:** 1\
**Last updated:** [May 8, 2026, 8:27pm UTC](https://community.grafana.com/t/zone-aware-metrics-scraping/162688 "2026-05-08T20:27:00Z")

</div>

For a highly available Kubernetes clusters, metrics scraping can transfer lots of bytes between zones, which costs money in cloud environments like AWS. Right now I have two central “metrics” alloy pods which use cluste…

---

## [Multiline log grouping with Alloy - orphan lines on restart](https://community.grafana.com/t/multiline-log-grouping-with-alloy-orphan-lines-on-restart/162774)

<div class="topic-metadata">

**Author:** [@daimmsp](https://community.grafana.com/u/daimmsp)\
**Replies:** 1\
**Last updated:** [May 6, 2026, 8:23pm UTC](https://community.grafana.com/t/multiline-log-grouping-with-alloy-orphan-lines-on-restart/162774 "2026-05-06T20:23:28Z")

</div>

Hi, I’m using Grafana Alloy on Windows to collect logs from files and send them to Loki. The log files contain multiline entries — each error starts with a timestamp and is followed by a stack trace: 2026-04-14T00:01:0…

---

## [CPU readiness metric showing 0 in Alloy (vCenter integration) despite config changes](https://community.grafana.com/t/cpu-readiness-metric-showing-0-in-alloy-vcenter-integration-despite-config-changes/162699)

<div class="topic-metadata">

**Author:** [@stutishovanamohanty4](https://community.grafana.com/u/stutishovanamohanty4)\
**Replies:** 1\
**Last updated:** [May 4, 2026, 3:50am UTC](https://community.grafana.com/t/cpu-readiness-metric-showing-0-in-alloy-vcenter-integration-despite-config-changes/162699 "2026-05-04T03:50:37Z")

</div>

Hello Team, We are facing an issue in the alloy version - v1.9.2 with CPU readiness metrics in Grafana Alloy using the vCenter integration. The data is being ingested into Mimir successfully , however the CPU readiness …

---

## [Podman Logs and Metrics with Grafana Alloy](https://community.grafana.com/t/podman-logs-and-metrics-with-grafana-alloy/158666)

<div class="topic-metadata">

**Author:** [@mateo199](https://community.grafana.com/u/mateo199)\
**Replies:** 2\
**Last updated:** [April 23, 2026, 3:59pm UTC](https://community.grafana.com/t/podman-logs-and-metrics-with-grafana-alloy/158666 "2026-04-23T15:59:02Z")

</div>

Hello all I felt in love with Grafana and Grafana Alloy but have some issues with using it with podman instead of docker. I have on a linux server podman installed and wanna monitor the resource usage of each individua…

---

## [Windows eventlog scraping skips events silently](https://community.grafana.com/t/windows-eventlog-scraping-skips-events-silently/162529)

<div class="topic-metadata">

**Author:** [@itenginex](https://community.grafana.com/u/itenginex)\
**Replies:** 4\
**Last updated:** [April 16, 2026, 5:26am UTC](https://community.grafana.com/t/windows-eventlog-scraping-skips-events-silently/162529 "2026-04-16T05:26:44Z")

</div>

I am using loki.source.windowsevent to process windows eventlogs (application specifically) and for unknown reasons it skips certain events. How would i troubleshoot this? Enabling debug and livedebugging does not give …

---

## [Set cluster.name in k8s-monitoring chart](https://community.grafana.com/t/set-cluster-name-in-k8s-monitoring-chart/162458)

<div class="topic-metadata">

**Author:** [@nikhithachinthapall1](https://community.grafana.com/u/nikhithachinthapall1)\
**Replies:** 0\
**Last updated:** [April 9, 2026, 3:09pm UTC](https://community.grafana.com/t/set-cluster-name-in-k8s-monitoring-chart/162458 "2026-04-09T15:09:36Z")

</div>

cluster: name: "" Is it possible to set cluster.name key in k8s-monitoring chart to read from env variable or a secret. I tried reading from env variable, but it takes it as a literal string.

---

## [Best practice for OTel metrics from AWS Lambda with Mimir to avoid duplicate timestamp errors without exploding cardinality](https://community.grafana.com/t/best-practice-for-otel-metrics-from-aws-lambda-with-mimir-to-avoid-duplicate-timestamp-errors-without-exploding-cardinality/162431)

<div class="topic-metadata">

**Author:** [@amalik0](https://community.grafana.com/u/amalik0)\
**Replies:** 3\
**Last updated:** [April 8, 2026, 3:07pm UTC](https://community.grafana.com/t/best-practice-for-otel-metrics-from-aws-lambda-with-mimir-to-avoid-duplicate-timestamp-errors-without-exploding-cardinality/162431 "2026-04-08T15:07:37Z")

</div>

Hi, I’m looking for guidance on best practices for collecting custom OpenTelemetry metrics from AWS Lambda and sending them to Grafana Mimir. Setup: Grafana Mimir deployed in distributed mode Installed via Helm chart…

---

## [Grafana Agent (v0.39) - how to add 'query\_config' block for mssql\_config?](https://community.grafana.com/t/grafana-agent-v0-39-how-to-add-query-config-block-for-mssql-config/112340)

<div class="topic-metadata">

**Author:** [@ef109539457](https://community.grafana.com/u/ef109539457)\
**Replies:** 7\
**Last updated:** [March 18, 2026, 8:33pm UTC](https://community.grafana.com/t/grafana-agent-v0-39-how-to-add-query-config-block-for-mssql-config/112340 "2026-03-18T20:33:51Z")

</div>

The latest version of Grafana Agent (v0.39) embedded custom metrics for MSSQL integration. I tried the below configuration with adding ‘query\_config’ section in integrations\_config, and then Grafana Agent Service failed…

---

## [Grafana Alloy cannot correctly parse log filenames for reading](https://community.grafana.com/t/grafana-alloy-cannot-correctly-parse-log-filenames-for-reading/161969)

<div class="topic-metadata">

**Author:** [@huutai1996na](https://community.grafana.com/u/huutai1996na)\
**Replies:** 3\
**Last updated:** [March 12, 2026, 8:10pm UTC](https://community.grafana.com/t/grafana-alloy-cannot-correctly-parse-log-filenames-for-reading/161969 "2026-03-12T20:10:28Z")

</div>

I configured the grafana alloy to sending openshift log. This is my configuration: // ============================= // 1. Discover Kubernetes Pods // ============================= discovery.kubernetes "po…

---

## [Grafana Alloy service not starting automatically in Free BSD OS server](https://community.grafana.com/t/grafana-alloy-service-not-starting-automatically-in-free-bsd-os-server/162059)

<div class="topic-metadata">

**Author:** [@sonali4satpute](https://community.grafana.com/u/sonali4satpute)\
**Replies:** 0\
**Last updated:** [March 11, 2026, 4:01am UTC](https://community.grafana.com/t/grafana-alloy-service-not-starting-automatically-in-free-bsd-os-server/162059 "2026-03-11T04:01:09Z")

</div>

Hi Team, Grafana Alloy service not starting automatically in Free BSD OS server. Below is the script located in usr/local/etc/rc.d/alloy \*\*#!/bin/sh PROVIDE: alloy REQUIRE: DAEMON KEYWORD: shutdown #\*\* \*\* . /etc/r…

---

## [Trying to import Cisco Log files](https://community.grafana.com/t/trying-to-import-cisco-log-files/160779)

<div class="topic-metadata">

**Author:** [@bakerld](https://community.grafana.com/u/bakerld)\
**Replies:** 2\
**Last updated:** [March 6, 2026, 6:58pm UTC](https://community.grafana.com/t/trying-to-import-cisco-log-files/160779 "2026-03-06T18:58:59Z")

</div>

I’m attempting to use Grafana/Loki/Alloy to import Cisco logs into my Grafana dashboards. When allow received a message I get this error: level=warn msg=“error parsing syslog stream” component\_path=/ component\_id=loki.s…

---

## [Grafana alloy and Cisco ASA log setup](https://community.grafana.com/t/grafana-alloy-and-cisco-asa-log-setup/161561)

<div class="topic-metadata">

**Author:** [@olsonnn](https://community.grafana.com/u/olsonnn)\
**Replies:** 1\
**Last updated:** [March 6, 2026, 6:54pm UTC](https://community.grafana.com/t/grafana-alloy-and-cisco-asa-log-setup/161561 "2026-03-06T18:54:09Z")

</div>

Has anyone this working for Cisco ASA? listener { address = "0.0.0.0:2514" protocol = "udp" label\_structured\_data = false max\_message\_length = 65536 syslog\_format = "rfc3164" r…

---

## [Store Alloy Configs on Central Server](https://community.grafana.com/t/store-alloy-configs-on-central-server/161872)

<div class="topic-metadata">

**Author:** [@grape2](https://community.grafana.com/u/grape2)\
**Replies:** 1\
**Last updated:** [February 26, 2026, 4:31pm UTC](https://community.grafana.com/t/store-alloy-configs-on-central-server/161872 "2026-02-26T16:31:56Z")

</div>

Looking to centrally manage all alloy configuration files for my environment in a git repo for version control. I have windows and linux endpoints, some with docker containers running as well. import.git works okay, but…

---

## [Kubernetes (microk8s) monitoring on Ubuntu with Alloy](https://community.grafana.com/t/kubernetes-microk8s-monitoring-on-ubuntu-with-alloy/161735)

<div class="topic-metadata">

**Author:** [@Rossm](https://community.grafana.com/u/Rossm)\
**Replies:** 6\
**Last updated:** [February 25, 2026, 7:44pm UTC](https://community.grafana.com/t/kubernetes-microk8s-monitoring-on-ubuntu-with-alloy/161735 "2026-02-25T19:44:20Z")

</div>

Hi all, I am new to Grafana Stack and am trying to get a test environment up and running using Alloy, Prometheus and Grafana on a PC running Ubuntu. Apologies for the links, I am only allowed to add two links as a new u…

---

## [Forwarding journald logs to loki with structured metadata](https://community.grafana.com/t/forwarding-journald-logs-to-loki-with-structured-metadata/161634)

<div class="topic-metadata">

**Author:** [@majkrzak](https://community.grafana.com/u/majkrzak)\
**Replies:** 1\
**Last updated:** [February 18, 2026, 11:53pm UTC](https://community.grafana.com/t/forwarding-journald-logs-to-loki-with-structured-metadata/161634 "2026-02-18T23:53:10Z")

</div>

I’m trying to feed Loki with journal logs. Minimal working config works kinda ok, but it drops all the important metadata and basicaly drops everything besides the log message itself. loki.source.journal "journal" { f…

---

## [Parsing MSSQL ERRORLOG in UTF-16LE BOM encoding](https://community.grafana.com/t/parsing-mssql-errorlog-in-utf-16le-bom-encoding/161370)

<div class="topic-metadata">

**Author:** [@bdein](https://community.grafana.com/u/bdein)\
**Replies:** 4\
**Last updated:** [February 13, 2026, 9:56pm UTC](https://community.grafana.com/t/parsing-mssql-errorlog-in-utf-16le-bom-encoding/161370 "2026-02-13T21:56:09Z")

</div>

Hi, I see some closed cases related to this issue: Need help specifying log path for MSSQL MSSQL servers logs extracted to loki Grafana dashboard with space in between character’s Which I’m having a hard time to unde…

---

## [Ingest old log file into loki using Alloy, timestamp issue](https://community.grafana.com/t/ingest-old-log-file-into-loki-using-alloy-timestamp-issue/161568)

<div class="topic-metadata">

**Author:** [@richprice36](https://community.grafana.com/u/richprice36)\
**Replies:** 5\
**Last updated:** [February 12, 2026, 12:54am UTC](https://community.grafana.com/t/ingest-old-log-file-into-loki-using-alloy-timestamp-issue/161568 "2026-02-12T00:54:44Z")

</div>

I am trying to ingest some old logs for analysis trying to preserve the the log line date and time. I have tried everything i can think of without success. I am able to get the date and time in loki but it does use it fo…

---

## [Where is service\_name label coming from](https://community.grafana.com/t/where-is-service-name-label-coming-from/161624)

<div class="topic-metadata">

**Author:** [@hamish11](https://community.grafana.com/u/hamish11)\
**Replies:** 2\
**Last updated:** [February 11, 2026, 10:46pm UTC](https://community.grafana.com/t/where-is-service-name-label-coming-from/161624 "2026-02-11T22:46:00Z")

</div>

I’m using Alloy to feed logs to Loki (on Grafana Cloud). When I view the logs in Grafana, log lines have a service\_name label which matches the app label I generated, or syslog\_id if there was none. I don’t know where t…

---

## [𝗔𝗻𝗻𝗼𝘂𝗰𝗲𝗺𝗲𝗻𝘁 for Grafana Alloy users who are still using Loki with Promtail](https://community.grafana.com/t/for-grafana-alloy-users-who-are-still-using-loki-with-promtail/161525)

<div class="topic-metadata">

**Author:** [@usman.ahmad](https://community.grafana.com/u/usman.ahmad)\
**Replies:** 0\
**Last updated:** [February 4, 2026, 3:03pm UTC](https://community.grafana.com/t/for-grafana-alloy-users-who-are-still-using-loki-with-promtail/161525 "2026-02-04T15:03:43Z")

</div>

Dear Grafana Alloy :alloy: users, The Promtail (default Agent for Grafana Loki :grafana: :grafana\_loki:) will be End-Of-Life (EOL) by 2nd March 2026. For that, I have create a complete migration guide that can help use…

---

## [Grafana Alloy TCP logs being merged into one single log](https://community.grafana.com/t/grafana-alloy-tcp-logs-being-merged-into-one-single-log/161507)

<div class="topic-metadata">

**Author:** [@paulofelippe](https://community.grafana.com/u/paulofelippe)\
**Replies:** 2\
**Last updated:** [February 4, 2026, 12:46pm UTC](https://community.grafana.com/t/grafana-alloy-tcp-logs-being-merged-into-one-single-log/161507 "2026-02-04T12:46:59Z")

</div>

I made a setup for collecting logs from network devices, receiving by UDP. I want to migrate it all to TCP, but a few tests didn’t succeed. For some reason, distinct log lines are being merged into one, this is an incomi…

[Next page](https://community.grafana.com/c/grafana-alloy/69.md?page=1)
