Skip to main content
StreamNative Cloud allows you to monitor connectors status, logs, and exceptions that are thrown when a source or sink connector fails to be created, updated, or cannot work.

View connector status

This section describes how to view connector status using snctl, pulsarctl, pulsar-admin, Rest API, and console.
If you want to monitor connectors using snctl, pulsarctl or pulsar-admin, Rest API, make sure you have set up your client tool. For more information, see set up client tools.
The following example introduces how to view the status of the data generator source connector named test.
To check the status of the source connector test, run the following command:

View connector logs

View the connector logs using snctl

This section describes how to view connector logs using snctl.
This example assumes you have installed snctl and initialized snctl configurations.
You can run the snctl logs command to view logs for a specific connector. This table outlines the configuration options that are used for viewing connector logs. For details about all supported fields, you can use the snctl logs -h command to list more information. The following command example shows how to view up to 60 lines of the data1 sink connector’s logs within the last 5 hours.
You should see the following output:

View the connector logs from log topics

StreamNative Cloud provide an alternative implementation of the Pulsar Functions log topic(see Pulsar Functions log topic) feature called sidecar mode, which supports using such feature in Connectors. To enable the sidecar mode, user should provide the following configurations when deploying the connector:
For more details about the custom-runtime-options, see Custom runtime options. Once the connector is deployed with the sidecar mode, you can configure consumers to consume messages from the log topic.