Skip to main content
StreamNative Cloud allows you to monitor kafka connectors’ status and logs.

View connector status

This section describes how to view connector status using snctl, kcctl, Rest API, and console. 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 a way to send your logs to a Pulsar topic, you can just use config sn.log.topic to set it. Once the connector is deployed with this config, you can configure consumers to consume messages from the log topic.

What’s next?