---
title: Telegraf Documentation
description: Telegraf plugin for sending metrics to ActiveMQ STOMP
url: https://docs.influxdata.com/telegraf/v1/output-plugins/stomp/
estimated_tokens: 911
product: Telegraf
version: v1
---

-   Telegraf v1.24.0+

# ActiveMQ STOMP Output Plugin

This plugin writes metrics to an [Active MQ Broker](http://activemq.apache.org/) for [STOMP](https://stomp.github.io) but also supports [Amazon MQ](https://aws.amazon.com/amazon-mq) brokers. Metrics can be written in one of the supported [data formats](/telegraf/v1/data_formats/output).

**Introduced in:** Telegraf v1.24.0 **Tags:** messaging **OS support:** all

## Global configuration options

Plugins support additional global and plugin configuration settings for tasks such as modifying metrics, tags, and fields, creating aliases, and configuring plugin ordering. See [CONFIGURATION.md](/telegraf/v1/configuration/#plugins) for more details.

## Secret-store support

This plugin supports secrets from secret-stores for the `username` and `password` option. See the [secret-store documentation](/telegraf/v1/configuration/#secret-store-secrets) for more details on how to use them.

## Configuration

```toml
# Configuration for active mq with stomp protocol to send metrics to
[[outputs.stomp]]
  host = "localhost:61613"

  ## Queue name for producer messages
  queueName = "telegraf"

  ## Username and password if required by the Active MQ server.
  # username = ""
  # password = ""

  ## Optional TLS Config
  # tls_ca = "/etc/telegraf/ca.pem"
  # tls_cert = "/etc/telegraf/cert.pem"
  # tls_key = "/etc/telegraf/key.pem"

  ## Data format to output.
  data_format = "json"
```

#### Related

-   [Configure plugins](/telegraf/v1/configure_plugins/)
-   [ActiveMQ STOMP Plugin Source](https://github.com/influxdata/telegraf/tree/v1.38.4/plugins/outputs/stomp/README.md)
