2022-07-14 21:14:41 +08:00
|
|
|
# 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/>
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
|
|
```toml @sample.conf
|
2022-07-14 21:59:43 +08:00
|
|
|
# Configuration for active mq with stomp protocol to send metrics to
|
|
|
|
|
[[outputs.stomp]]
|
2022-07-14 21:14:41 +08:00
|
|
|
host = "localhost:61613"
|
|
|
|
|
|
|
|
|
|
## Queue name for producer messages
|
2022-07-14 21:59:43 +08:00
|
|
|
queueName = "telegraf"
|
2022-07-14 21:14:41 +08:00
|
|
|
|
|
|
|
|
## 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.
|
2022-07-14 21:59:43 +08:00
|
|
|
data_format = "json"
|
2022-07-14 21:14:41 +08:00
|
|
|
```
|