Share via


@azure/monitor-query-logs package

Classes

LogsQueryClient

The client to query Azure Monitor logs.

Interfaces

BatchQueryRequest

A single request in a batch.

BatchQueryResponse

Contains the batch query response and the headers, id, and status of the request

BatchQueryResults

Contains the tables, columns & rows resulting from a query.

BatchRequest

An array of requests.

Column

A column in a table.

ErrorDetail

Error details.

ErrorInfo

The code and message for an error.

ErrorResponse

Contains details when the response code indicates an error.

ExecuteOptionalParams

Optional parameters.

ExecuteWithResourceIdOptionalParams

Optional parameters.

LogsColumn

A column in a table.

LogsErrorInfo

The code and message for an error.

LogsQueryBatchOptions

Optional parameters for batch query operations.

LogsQueryClientOptions

Optional parameters for the client.

LogsQueryError

A failed query result.

LogsQueryOptions

Options for querying logs.

LogsQueryPartialResult

A partially successful query result.

LogsQuerySuccessfulResult

A successful query result.

LogsTable

Contains the columns and rows for one table in a query response.

QueryBatch

A query to execute as part of a batch.

QueryBody

The Analytics query. Learn more about the Analytics query syntax

QueryLogsOptions

Optional parameters.

Table

Contains the columns and rows for one table in a query response.

Type Aliases

ColumnDataType

The data type of a column.

LogsQueryBatchResult

The result of a batch query operation.

LogsQueryResult

The result of a query.

QueryTimeInterval

The timespan for the query. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

Enums

KnownMonitorLogsQueryAudience

Audiences for Azure Monitor Logs.

LogsQueryResultStatus

The status of a query.

Variables

Durations

Aliases for some common ISO8601 durations.

Variable Details

Durations

Aliases for some common ISO8601 durations.

Durations: { fiveMinutes: "PT5M", fortyEightHours: "PT48H", fourHours: "PT4H", oneDay: "P1D", oneHour: "PT1H", sevenDays: "P7D", thirtyMinutes: "PT30M", threeDays: "P3D", twentyFourHours: "PT24H", twoDays: "P2D" }

Type

{ fiveMinutes: "PT5M", fortyEightHours: "PT48H", fourHours: "PT4H", oneDay: "P1D", oneHour: "PT1H", sevenDays: "P7D", thirtyMinutes: "PT30M", threeDays: "P3D", twentyFourHours: "PT24H", twoDays: "P2D" }