View logs

Kalix provides logs that you can view in the Console or access with the CLI. For each service instance we aggregate a maximum of 1MB of log data. You can capture all log output by attaching a logging provider, such as Google Cloud’s operations suite (formerly Stackdriver), as described here.

Aggregated logs

To view aggregated logs:

Browser
  1. From the project Dashboard, select a deployed service.

  2. From the service Overview page, select Logs from the top tab or from the left navigation menu. The Logs table displays logging output, which you can filter with the control on top.

CLI

With a command window set to your project, use the kalix logs command to view the logs for a running service:

kalix logs <<service-name>>

Exporting logs

Logs can be exported for searching, reporting, alerting and long term storage by configuring the Kalix observability configuration for your project. See here for detailed documentation.