Viewing logs for Cloudera Streaming Analytics

Anywhere Cloud can collect the logs of Cloudera Streaming Analytics. Use the logs when the views in Cloudera SQL Stream Builder (SSB) do not provide enough detail.

Log collection

Cloudera Streaming Analytics writes its logs to standard output, and Anywhere Cloud collects them from the following components:

  • The SSB server, which runs the Streaming SQL Console and starts your jobs
  • The Flink JobManager and TaskManagers of each job
  • The Flink Kubernetes Operator, which deploys and manages the Flink clusters of the jobs

The logs of a Flink job use the log configuration of the job. To change the log level or add loggers, see Enabling debug logging and Configuring custom job logging.

The telemetry settings of the compute cluster determine where the logs go, and Cloudera Streaming Analytics uses them automatically.

When the compute cluster has an observability gateway, the Flink runtime metrics of your jobs go to it. Cloudera Streaming Analytics does not send usage telemetry in this release.

Telemetry in Anywhere Cloud

For how Anywhere Cloud collects and routes logs, metrics, and audit records, see Telemetry Engine in the Anywhere Cloud documentation.

Where to find the logs

In SSB
The Logs and Events tabs of the SQL editor and the Events view of a job contain what SSB reports about your statements and jobs. For more information, see Monitoring job results in Streaming SQL Console.
In the Flink Dashboard
While a job runs, the Job Manager and Task Managers pages contain the Flink logs of the job. For more information, see Using the Flink Dashboard.
In the diagnostic bundle
The collected logs are included in the diagnostic bundle of the compute cluster, with the configuration details and other diagnostic information. To download it, see Collecting diagnostic data.

For more information about Flink logging, see Logging in the Apache Flink documentation.