Skip to content

AzureLogsQueryBuilder🔗

Constructor🔗

new AzureLogsQueryBuilder()

Methods🔗

build🔗

Builds the object.

build()

basicLogsQuery🔗

If set to true the query will be run as a basic logs query

basicLogsQuery(basicLogsQuery: boolean)

dashboardTime🔗

If set to true the dashboard time range will be used as a filter for the query. Otherwise the query time ranges will be used. Defaults to false.

dashboardTime(dashboardTime: boolean)

intersectTime🔗

@deprecated Use dashboardTime instead

intersectTime(intersectTime: boolean)

query🔗

KQL query to be executed.

query(query: string)

resource🔗

@deprecated Use resources instead

resource(resource: string)

resources🔗

Array of resource URIs to be queried.

resources(resources: string[])

resultFormat🔗

Specifies the format results should be returned as.

resultFormat(resultFormat: azuremonitor.ResultFormat)

timeColumn🔗

If dashboardTime is set to true this value dictates which column the time filter will be applied to. Defaults to the first tables timeSpan column, the first datetime column found, or TimeGenerated

timeColumn(timeColumn: string)

workspace🔗

Workspace ID. This was removed in Grafana 8, but remains for backwards compat.

workspace(workspace: string)

See also🔗