@pastash/output_mqtt
v1.0.5
Published
MQTT Output Plugin for @pastash/pastash
Downloads
11
Readme
MQTT output plugin
Status : experimental plugin.
This plugin is used to output paStash data objects to MQTT topics.
npm install -g @pastash/output_mqtt
Example 1: to open a MQTT connection to server.
Config using url: output://mqtt://mqtt://test.moquitto.org
Config using logstash format:
output {
mqtt {
address => ['mqtt://test.moquitto,org']
}
}
Parameters :
address
: MQTT server address.topic
: MQTT PubSub Topic.subscribe
: MQTT Subscribe to Topic.unserializer
: more doc at unserializers. Default value tojson_logstash
. This plugin does not support raw data.