lakehouse.databricks.log_analytics_logging.build_la_signature

lakehouse.databricks.log_analytics_logging.build_la_signature(workspace_id, workspace_key, date, content_length, method, content_type, resource) str

Builds the Log Analytics signature used for authentication: string that is used to identify and secure requests to the Log Analytics API

Parameters

workspace_idstring

ID for the Log Analytics workspace.

workspace_keystring

The key used to access the Log Analytics workspace.

datestring

The date string to include in the signature.

content_lengthint

The length of the content to be sent to Log Analytics.

methodstring

The HTTP method used in the request (e.g. "POST").

content_typestring

The content type of the data being sent ("application/json").

resourcestring

The resource string used in the request.

Returns

string :

returns the log analytics signature to be used in a log analytics restful api call