MQTT Activity log
Learn about the types of activity that are logged in the MQTT Activity Log, and the tags that can be used for filtering these activities.
Activity Log content
Here are some examples of the type of MQTT node activities that are logged in an MQTT
Activity Log:
- Successfully connected to an MQTT server
- Failed to connect to an MQTT server
- Reattempted the connection to an MQTT server
- Published a message to a topic
- Failed to publish a message to a topic
- Subscribed to a topic
- Received a message that was published to a topic
- Lost the connection to an MQTT server
- Successfully disconnected from an MQTT server
- Failed to disconnect from an MQTT server
Activity Log tags
In addition to the generic Activity Log tags, there are extra tags that are specific to MQTT. These tags enrich the logged information and can also be used for filtering.
For more information about the generic tags, see Activity Logs. The following table lists the additional MQTT tags.
Name | Description | Valid values |
---|---|---|
TOPICNAME | The name of the topic that messages are published to, or the name of the topic that is subscribed to. | Any valid MQTT topic name. For more information, see MQTT Protocol Specification. |
CONNECTIONURL | The URL of the MQTT server. | Any valid URL. |