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(bool $basicLogsQuery)

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(bool $dashboardTime)

intersectTime🔗

@deprecated Use dashboardTime instead

intersectTime(bool $intersectTime)

query🔗

KQL query to be executed.

query(string $query)

resource🔗

@deprecated Use resources instead

resource(string $resource)

resources🔗

Array of resource URIs to be queried.

@param array $resources

resources(array $resources)

resultFormat🔗

Specifies the format results should be returned as.

resultFormat(\Grafana\Foundation\Azuremonitor\ResultFormat $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(string $timeColumn)

workspace🔗

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

workspace(string $workspace)

See also🔗