Skip to content

Add Azure Log Analytics V2 log export support#121

Open
github-actions[bot] wants to merge 1 commit into
cockroachdb:automation/pending-deploy-20260709-214614from
crl-gh-actions-pr-bot:automation/openapi-spec-change-20260709-214615
Open

Add Azure Log Analytics V2 log export support#121
github-actions[bot] wants to merge 1 commit into
cockroachdb:automation/pending-deploy-20260709-214614from
crl-gh-actions-pr-bot:automation/openapi-spec-change-20260709-214615

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Summary

This sync adds support for the new Azure Log Analytics V2 log export integration, which uses the Logs Ingestion API and DCR-based ingestion via an OTel pipeline. The legacy AZURE_LOG_ANALYTICS type (using Fluent Bit's HTTP Data Collector API) is deprecated and retiring on 2026-09-14.

Azure Log Analytics V2

  • New AZURE_LOG_ANALYTICS_V2 enum value on LogExportType
  • New configuration fields on EnableLogExportBody and LogExportClusterSpecification: azure_client_id, azure_client_secret, azure_tenant_id, azure_dce_endpoint, azure_dcr_immutable_id, azure_dcr_resource_id, azure_workspace_resource_id
  • Breaking change: AuthPrincipal is no longer a required field on EnableLogExportBody — it is now optional (*string) since AZURE_LOG_ANALYTICS_V2 does not use it. Callers that previously passed authPrincipal as the first argument to NewEnableLogExportBody() must update their call sites.
  • AZURE_LOG_ANALYTICS and azure_shared_key are deprecated in favor of AZURE_LOG_ANALYTICS_V2 and azure_client_secret

Other changes

  • Add UPDATE_BACKUP_CONFIGURATION audit log action
  • Add CLUSTER_DEVELOPER role to private endpoint and egress private endpoint read operations (ListAwsEndpointConnections, ListPrivateEndpointConnections, ListPrivateEndpointServices, ListEgressPrivateEndpoints, GetEgressPrivateEndpoint)

Add AZURE_LOG_ANALYTICS_V2 log export type for exporting to Azure
Monitor via the Logs Ingestion API and DCR-based ingestion,
replacing the legacy AZURE_LOG_ANALYTICS path (retiring
2026-09-14).

New Azure V2 configuration fields added to EnableLogExportBody and
LogExportClusterSpecification: azure_client_id,
azure_client_secret, azure_tenant_id, azure_dce_endpoint,
azure_dcr_immutable_id, azure_dcr_resource_id, and
azure_workspace_resource_id.

Breaking change: auth_principal is no longer required on
EnableLogExportBody, as AZURE_LOG_ANALYTICS_V2 does not use it.
The field is now optional (pointer type).

Deprecate AZURE_LOG_ANALYTICS in favor of AZURE_LOG_ANALYTICS_V2
and azure_shared_key in favor of azure_client_secret.

Add UPDATE_BACKUP_CONFIGURATION audit log action.

Add CLUSTER_DEVELOPER role to private endpoint and egress private
endpoint read operations (ListAwsEndpointConnections,
ListPrivateEndpointConnections, ListPrivateEndpointServices,
ListEgressPrivateEndpoints, GetEgressPrivateEndpoint).

Managed-service-pr-url: cockroachlabs/managed-service#24511
@github-actions github-actions Bot requested a review from ShashwatDash23 July 9, 2026 21:47
@cockroachlabs-cla-agent

cockroachlabs-cla-agent Bot commented Jul 9, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant