39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
# STOMP Producer Output Plugin
|
|
|
|
This plugin writes to a [Active MQ Broker](http://activemq.apache.org/)
|
|
for STOMP <http://stomp.github.io>.
|
|
|
|
It also support Amazon MQ <https://aws.amazon.com/amazon-mq/>
|
|
|
|
## Global configuration options <!-- @/docs/includes/plugin_config.md -->
|
|
|
|
In addition to the plugin-specific configuration settings, plugins support
|
|
additional global and plugin configuration settings. These settings are used to
|
|
modify metrics, tags, and field or create aliases and configure ordering, etc.
|
|
See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
|
|
|
[CONFIGURATION.md]: ../../../docs/CONFIGURATION.md
|
|
|
|
## Configuration
|
|
|
|
```toml @sample.conf
|
|
# 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"
|
|
```
|