Telemetry and audit logging
Cloudera Migration Assistant sends its logs, metrics, traces, and audit records to the telemetry pipeline of Anywhere Cloud. You read them in the destinations that your administrator configures. Cloudera Migration Assistant has no telemetry or audit pages of its own.
Telemetry signals and redaction rules
Cloudera Anywhere Cloud collects three signal types from cluster infrastructure and data engines:
- Logs: Standard output collection or push through the cluster-internal OpenTelemetry Protocol (OTLP) endpoint, organized into engine-defined log streams.
- Metrics: Infrastructure and engine metrics pushed over OTLP or scraped from Prometheus-instrumented components where applicable.
- Traces: Distributed trace spans pushed over OTLP by instrumented engines and services.
All three signal types can be sent to a third-party tool through telemetry export. Only engine logs can also be written to storage buckets, organized by the engine's log streams. Metrics, traces, and platform logs are not written to buckets.
Redaction rules are regular expressions that you configure on an engine's Telemetry tab. Text that matches a rule is masked in that engine's logs, metrics, and traces before the data is written to storage or sent to external exporters. Redaction rules apply only to the engine instance they are configured on.
Audit logs are collected and exported separately by the audit service rather than through the telemetry exporter. For details, see Configuring Audit Exporter Settings.
Cluster and engine telemetry destinations
Telemetry configuration operates at two levels during blueprint deployment:
- Cluster level (Telemetry Export Configuration): Transmits telemetry data—comprising logs, metrics, and traces—from the entire cluster, encompassing platform services and engines, to a customer-managed third-party destination. To enable export, select Third-Party Exporters, insert an OpenTelemetry Collector exporter configuration, and specify any referenced authentication credentials under Exporter Credentials. Telemetry export parameters must be established during cluster creation and cannot be appended or modified thereafter.
- Engine level (an engine's Telemetry tab): Select the designated storage buckets for the engine's log files. First, designate a Default Storage Bucket; any log streams not explicitly defined in Log Stream Mappings are directed to this bucket by default. To route a specific log stream to an alternative destination, update its corresponding Destination Bucket field.
Air-gapped and restricted networks: Route telemetry to destinations inside your network, such as S3-compatible storage or your own OpenTelemetry Protocol (OTLP) endpoint, or disable external telemetry.
To configure engine telemetry and cluster-level telemetry export, see Configuring Telemetry Exporter Settings. To configure audit log export separately, see Configuring Audit Exporter Settings.
Configuring destinations
An administrator configures the telemetry and audit destinations of the cluster in the Anywhere Cloud Console. To configure the telemetry destinations, see Configuring Telemetry Exporter Settings in the Anywhere Cloud documentation. To configure the audit destinations separately, see Configuring Audit Exporter Settings.
What Cloudera Migration Assistant sends
| Signal | What Cloudera Migration Assistant sends |
|---|---|
| Logs | Every component writes its logs to standard output. Anywhere Cloud collects them and writes them to the S3 bucket that you bound to the logs purpose. Cloudera Migration Assistant does not push logs over OTLP. |
| Metrics | The Cloudera Migration Assistant services and the agents on the Anywhere Cloud cluster push metrics over OTLP to the observability gateway of the cluster. The Anywhere Cloud edge collector reads the metrics of the built-in Git server. |
| Traces | The Cloudera Migration Assistant services and the agents on the Anywhere Cloud cluster push traces over OTLP to the observability gateway of the cluster. |
| Audit | The Cloudera Migration Assistant server and the agents send an audit record for each request to their REST API, as described in Audit records. |
Cloudera Migration Assistant does not deploy a Prometheus server or an OpenTelemetry collector of its own. The metrics of Code Migrator include the number of LLM input and output tokens that its requests use.
Log streams
Anywhere Cloud writes the logs in these log streams:
| Log stream | Engine | What it holds |
|---|---|---|
cma-services |
Cloudera Migration Assistant | The logs of the Cloudera Migration Assistant server, the authorization service, and Code Migrator. |
cma-platform |
Cloudera Migration Assistant | The logs of the built-in Git server, the web interface server, the documentation search service, and jobs. |
cma-agent-services |
Cloudera Migration Assistant Agent | The logs of the agent service. |
awc-platform |
Both | The logs of the other pods in the namespace, such as the PostgreSQL database and the service mesh proxy. |
The cma-services and cma-agent-services streams are structured JSON. The other streams are plain
text. The lifecycle policy of the bucket decides how long Anywhere Cloud keeps the logs.
Requirements
Telemetry and audit logging have the following requirements:
- Observability gateway – Metrics and traces need the observability gateway of the Anywhere Cloud cluster. When the cluster has no observability gateway, Cloudera Migration Assistant does not send metrics or traces.
- Log routing – Turn on log routing for the cluster, so that Anywhere Cloud collects the logs of the engines.
- Bucket for logs – Bind an S3 bucket with write access to the logs purpose on the Storage tab, and select the same bucket as the default bucket on the Telemetry tab, when you deploy each engine. See Engine configuration: Cloudera Migration Assistant.
Agents on Cloudera Base on premises clusters are not part of this routing. They keep their logs on their hosts. See Collecting diagnostic bundles.
Audit records
The Cloudera Migration Assistant server and each agent record an audit event for every request to their REST API. They do not record health checks, API documentation, static files, or HEAD and OPTIONS requests. They send the records to the audit service of Anywhere Cloud, which routes them in the Audit stream.
Each audit record includes the following:
- The user who made the request, from the Anywhere Cloud sign-in
- The category of the event: access, configuration, or data
- The action and the resource of the request
- The outcome: initiated, pending, success, failure, or unknown
- Correlation IDs that link the record to the other records of the same request
Cloudera Migration Assistant records a request that fails sign-in as an authentication event, and a request that the role of the user does not allow as a denied authorization event.
Read the audit records in the destination that your administrator configures for audit records. See Configuring Audit Exporter Settings in the Anywhere Cloud documentation. When the cluster has no audit service, Cloudera Migration Assistant writes the audit records to its own log instead.
