Skip to main content

serving_endpoint_logs

Creates, updates, deletes, gets or lists a serving_endpoint_logs resource.

Overview​

Nameserving_endpoint_logs
TypeResource
Iddatabricks_workspace.serving.serving_endpoint_logs

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
logsstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, served_model_name, deployment_nameRetrieves the service logs associated with the provided served model.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)
namestringThe name of the serving endpoint that the served model belongs to. This field is required.
served_model_namestringThe name of the served model that logs will be retrieved for. This field is required.

SELECT examples​

Retrieves the service logs associated with the provided served model.

SELECT
logs
FROM databricks_workspace.serving.serving_endpoint_logs
WHERE name = '{{ name }}' -- required
AND served_model_name = '{{ served_model_name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
;