Skip to main content

logs

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

Overview

Namelogs
TypeResource
Iddatabricks_workspace.realtimeserving.logs

Fields

The following fields are returned by SELECT queries:

Logs were fetched successfully.

NameDatatypeDescription
logsstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
logsselectdeployment_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)

SELECT examples

Retrieves the service logs associated with the provided served model.

SELECT
logs
FROM databricks_workspace.realtimeserving.logs
WHERE deployment_name = '{{ deployment_name }}' -- required;