Try using Grot AI Grot AI for this query ->
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/alloy/next/collect.md, or by sending Accept: text/markdown to https://grafana.com/docs/alloy/next/collect/. 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
Documentationbreadcrumb arrow breadcrumb arrow Grafana Alloybreadcrumb arrow Collect and forward data

Collect and forward data with Grafana Alloy

  • Choose a Grafana Alloy component
  • Set up meta-monitoring to collect Alloy telemetry
  • Receive traces and metrics from Datadog-instrumented applications
  • Collect Kubernetes logs and forward them to Loki
  • Collect Azure Event Hubs logs and forward them to Loki
  • Collect Prometheus metrics
  • Collect OpenTelemetry data and forward it to any OpenTelemetry-compatible endpoint
  • Collect OpenTelemetry data and forward to Grafana
  • Collect Amazon Elastic Container Service or AWS Fargate OpenTelemetry data

Was this page helpful?

Email docs@grafana.com
Help and support
Community
Technical documentation Plugin catalog
Choose a product
Viewing: next Find another version
  • Grafana Alloy
  • Introduction
    • Why Alloy
    • How Alloy works
    • OpenTelemetry in Alloy
    • Requirements
  • Get started
    • Components
      • Configure components
      • Build data pipelines
      • Component controller
      • Custom components
      • Community components
    • Expressions
      • Types and values
      • Component exports
      • Operators
      • Function calls
    • Alloy syntax
    • Modules
    • Clustering
  • Set up
    • Supported platforms
    • Install
      • Linux
      • macOS
      • Windows
      • Docker
      • Kubernetes
      • Standalone
      • Ansible
      • Chef
      • OpenShift
      • Podman
      • Puppet
    • Migrate
      • Migrate from Agent Static
      • Migrate from Agent Operator
      • Migrate from Agent Flow
      • Migrate from OpenTelemetry Collector
      • Migrate from Prometheus
      • Migrate from Promtail
    • Run
      • Linux
      • macOS
      • Windows
      • Standalone
    • OpenTelemetry Engine
    • Deploy
    • Estimate resource usage
  • Configure
    • Clustering
      • Distribute metrics scrape load
    • Kubernetes
    • Proxy layer
    • Linux
    • macOS
    • Windows
    • Load remote configuration
  • Access and permissions
    • Linux
    • Kubernetes
    • Windows
  • Collect and forward data
    • Choose a component
    • Collect Alloy telemetry
    • Collect Datadog traces and metrics
    • Collect Kubernetes logs
    • Collect Azure Event Hubs logs
    • Collect Prometheus metrics
    • Collect OpenTelemetry data
    • Collect OpenTelemetry data and forward to Grafana
    • Collect ECS or Fargate OpenTelemetry data
  • Monitor metrics and logs
    • Monitor Docker
    • Monitor Linux
    • Monitor Windows
    • Monitor log files
    • Monitor TCP logs
    • Monitor syslog messages
    • Monitor structured logs
    • Monitor Kubernetes logs
  • Tutorials
    • Send logs to Loki
    • Send metrics to Prometheus
    • First components and the standard library
    • Logs and relabeling basics
    • Process Logs
  • Troubleshoot
    • Monitor the controller
    • Monitor components
    • Import mixin dashboards
    • Generate a support bundle
    • Profile resource consumption
    • Debug
  • Reference
    • Command-line interface
      • convert
      • fmt
      • gql
      • run
      • otel
      • tools
      • Environment variables
      • validate
    • Configuration blocks
      • argument
      • declare
      • export
      • foreach
      • http
      • import.file
      • import.git
      • import.http
      • import.string
      • livedebugging
      • logging
      • remotecfg
      • tracing
    • Components
      • beyla
        • beyla.ebpf
      • database_observability
        • database_observability.mysql
        • database_observability.postgres
        • database_observability.sql_server
      • discovery
        • discovery.aws
        • discovery.azure
        • discovery.consul
        • discovery.consulagent
        • discovery.digitalocean
        • discovery.dns
        • discovery.docker
        • discovery.dockerswarm
        • discovery.ec2
        • discovery.eureka
        • discovery.file
        • discovery.gce
        • discovery.hetzner
        • discovery.http
        • discovery.ionos
        • discovery.kubelet
        • discovery.kubernetes
        • discovery.kuma
        • discovery.lightsail
        • discovery.linode
        • discovery.marathon
        • discovery.nerve
        • discovery.nomad
        • discovery.openstack
        • discovery.ovhcloud
        • discovery.process
        • discovery.puppetdb
        • discovery.relabel
        • discovery.scaleway
        • discovery.serverset
        • discovery.triton
        • discovery.uyuni
      • faro
        • faro.receiver
      • local
        • local.file
        • local.file_match
      • loki
        • loki.echo
        • loki.enrich
        • loki.process
        • loki.relabel
        • loki.rules.kubernetes
        • loki.secretfilter
        • loki.source.api
        • loki.source.awsfirehose
        • loki.source.azure_event_hubs
        • loki.source.cloudflare
        • loki.source.docker
        • loki.source.file
        • loki.source.gcplog
        • loki.source.gelf
        • loki.source.heroku
        • loki.source.journal
        • loki.source.kafka
        • loki.source.kubernetes
        • loki.source.kubernetes_events
        • loki.source.podlogs
        • loki.source.syslog
        • loki.source.windowsevent
        • loki.write
      • mimir
        • mimir.alerts.kubernetes
        • mimir.rules.kubernetes
      • otelcol
        • otelcol.auth.basic
        • otelcol.auth.bearer
        • otelcol.auth.google
        • otelcol.auth.headers
        • otelcol.auth.oauth2
        • otelcol.auth.sigv4
        • otelcol.connector.count
        • otelcol.connector.host_info
        • otelcol.connector.servicegraph
        • otelcol.connector.signaltometrics
        • otelcol.connector.spanlogs
        • otelcol.connector.spanmetrics
        • otelcol.exporter.awss3
        • otelcol.exporter.datadog
        • otelcol.exporter.debug
        • otelcol.exporter.faro
        • otelcol.exporter.file
        • otelcol.exporter.googlecloud
        • otelcol.exporter.googlecloudpubsub
        • otelcol.exporter.kafka
        • otelcol.exporter.loadbalancing
        • otelcol.exporter.loki
        • otelcol.exporter.otlp
        • otelcol.exporter.otlphttp
        • otelcol.exporter.prometheus
        • otelcol.exporter.splunkhec
        • otelcol.exporter.syslog
        • otelcol.extension.jaeger_remote_sampling
        • otelcol.processor.attributes
        • otelcol.processor.batch
        • otelcol.processor.cumulativetodelta
        • otelcol.processor.deltatocumulative
        • otelcol.processor.discovery
        • otelcol.processor.filter
        • otelcol.processor.groupbyattrs
        • otelcol.processor.interval
        • otelcol.processor.k8sattributes
        • otelcol.processor.memory_limiter
        • otelcol.processor.metric_start_time
        • otelcol.processor.probabilistic_sampler
        • otelcol.processor.redaction
        • otelcol.processor.resourcedetection
        • otelcol.processor.span
        • otelcol.processor.tail_sampling
        • otelcol.processor.transform
        • otelcol.receiver.awscloudwatch
        • otelcol.receiver.awsecscontainermetrics
        • otelcol.receiver.awss3
        • otelcol.receiver.cloudflare
        • otelcol.receiver.datadog
        • otelcol.receiver.faro
        • otelcol.receiver.file_stats
        • otelcol.receiver.filelog
        • otelcol.receiver.fluentforward
        • otelcol.receiver.googlecloudpubsub
        • otelcol.receiver.influxdb
        • otelcol.receiver.jaeger
        • otelcol.receiver.kafka
        • otelcol.receiver.loki
        • otelcol.receiver.nginx
        • otelcol.receiver.opencensus
        • otelcol.receiver.otlp
        • otelcol.receiver.prometheus
        • otelcol.receiver.solace
        • otelcol.receiver.splunkhec
        • otelcol.receiver.syslog
        • otelcol.receiver.tcplog
        • otelcol.receiver.vcenter
        • otelcol.receiver.zipkin
        • otelcol.storage.file
      • prometheus
        • prometheus.echo
        • prometheus.enrich
        • prometheus.exporter.apache
        • prometheus.exporter.azure
        • prometheus.exporter.blackbox
        • prometheus.exporter.cadvisor
        • prometheus.exporter.catchpoint
        • prometheus.exporter.cloudwatch
        • prometheus.exporter.consul
        • prometheus.exporter.databricks
        • prometheus.exporter.dnsmasq
        • prometheus.exporter.elasticsearch
        • prometheus.exporter.gcp
        • prometheus.exporter.github
        • prometheus.exporter.kafka
        • prometheus.exporter.memcached
        • prometheus.exporter.mongodb
        • prometheus.exporter.mssql
        • prometheus.exporter.mysql
        • prometheus.exporter.oracledb
        • prometheus.exporter.postgres
        • prometheus.exporter.process
        • prometheus.exporter.redis
        • prometheus.exporter.self
        • prometheus.exporter.snmp
        • prometheus.exporter.snowflake
        • prometheus.exporter.squid
        • prometheus.exporter.static
        • prometheus.exporter.statsd
        • prometheus.exporter.unix
        • prometheus.exporter.windows
        • prometheus.operator.podmonitors
        • prometheus.operator.probes
        • prometheus.operator.scrapeconfigs
        • prometheus.operator.servicemonitors
        • prometheus.receive_http
        • prometheus.relabel
        • prometheus.remote_write
        • prometheus.scrape
      • pyroscope
        • pyroscope.ebpf
        • pyroscope.enrich
        • pyroscope.java
        • pyroscope.receive_http
        • pyroscope.relabel
        • pyroscope.scrape
        • pyroscope.write
      • remote
        • remote.http
        • remote.kubernetes.configmap
        • remote.kubernetes.secret
        • remote.s3
        • remote.vault
    • Compatible components
    • Standard library
      • array
      • coalesce
      • constants
      • convert
      • encoding
      • file
      • json_path
      • string
      • sys
    • HTTP endpoints
      • GraphQL API
    • Release information
      • Backward compatibility
      • Release cadence
      • Maintenance
  • Data collection
  • Release notes
Scroll for more
Read this in Grafana Cloud

Is this page helpful?