Access logs

Whenever you activate a new Edge Connect configuration, the connection monitoring topics are created. These store the logs that are created when any connection attempts to topics in the given namespace are made.

The paths to the connection monitoring topics are:

  • $SYS/monitor/con/errors

  • $SYS/monitor/con/drops

  • $SYS/monitor/con/connects

Whenever someone tries to publish or subscribe to the topic in your namaspace, a single log is created. Logs are created for each connection attempt, it's length or number of messages being exchanged during the session doesn't affect the data. Connection attempts to non-existing topics are also logged.

📘

HTTP GET/PUT requests aren't recorded.

To access connection monitoring logs, you need to send a GET request to one of the topics with the IoT Edge Message Stream API.

To see the types of logs in the connection monitoring topics, see Logs and troubleshooting.

📘

The requesting user must be assigned to a sys-monitor group.