Skip to main content

schemata

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

Overview

Nameschemata
TypeResource
Idazure.log_analytics.schemata

Fields

NameDatatypeDescription
namestringThe name of the schema.
displayNamestringThe display name of the schema.
facetbooleanThe boolean that indicates whether or not the field is a facet.
indexedbooleanThe boolean that indicates the field is searchable as free text.
ownerTypearrayThe array of workflows containing the field.
storedbooleanThe boolean that indicates whether or not the field is stored.
typestringThe type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, workspaceNameGets the schema for a given workspace.

SELECT examples

Gets the schema for a given workspace.

SELECT
name,
displayName,
facet,
indexed,
ownerType,
stored,
type
FROM azure.log_analytics.schemata
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';