Skip to main content
StreamNative Cloud surfaces health and diagnostics for every Orca agent so you can debug issues quickly. Use the CLI for live status checks, review logs through the console, and stream log data to topics when you need deeper analysis.

View agent status

Install and configure snctl as described in Set up client tools so the commands below can authenticate to your organization.
Run snctl agents status with the agent’s tenant, namespace, and name to fetch its current state:
Example output:
Key fields to watch:
  • running: Confirms the runtime loop is healthy. A false value indicates the instance stopped and requires attention.
  • numRestarts: Counts automatic restarts. Frequent restarts suggest initialization errors or crashes.
  • numUserExceptions and latestUserExceptions: Surface issues thrown by your agent code.
  • numSystemExceptions and latestSystemExceptions: Capture platform-level errors such as connectivity or serialization problems.
  • averageLatency and lastInvocationTime: Help validate that requests are being processed on schedule.
Combine the status output with snctl agents restart or snctl agents trigger (when supported) to validate fixes before returning agents to production traffic.

Inspect logs and exceptions in StreamNative Cloud Console

The StreamNative Cloud Console provides a real-time view of agent activity.
  1. Log in to StreamNative Cloud Console.
  2. In the left navigation, open Agents panel.
  3. Select the agent you deployed to open its detail page. Review the status metrics for quick health insight.
  4. Switch to the Logs tab for streaming log output.
Console views combine status, logs, and configuration so you can verify rollouts, confirm tool configs, and observe runtime behavior without leaving the browser.

View the agent logs using snctl

This section describes how to view agent 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 agent. This table outlines the configuration options that are used for viewing agent 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 agent-func agent’s logs within the last 5 hours.
You should see the agent logs output.