Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogsQueryClient

Package version

Client for Azure Log Analytics

Hierarchy

  • LogsQueryClient

Index

Constructors

Methods

Constructors

constructor

Methods

queryLogs

  • Queries logs in a Log Analytics Workspace.

    Parameters

    • workspaceId: string

      The 'Workspace Id' for the Log Analytics Workspace

    • query: string

      A Log Analytics Query

    • timespan: string

      The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression. Some common durations can be found in the Durations object.

    • Optional options: QueryLogsOptions

      Options to adjust various aspects of the request.

    Returns Promise<QueryLogsResult>

    The result of the query.

queryLogsBatch

Generated using TypeDoc