Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogsIngestionClient

Package version

Client for Monitor Logs Ingestion

Hierarchy

  • LogsIngestionClient

Index

Constructors

Methods

Constructors

constructor

Methods

upload

  • upload(ruleId: string, streamName: string, logs: Record<string, unknown>[], options?: UploadOptions): Promise<UploadResult>
  • Uploads logs to Monitor Resource

    Parameters

    • ruleId: string

      The immutable Id of the Data Collection Rule resource.

    • streamName: string

      The streamDeclaration name as defined in the Data Collection Rule.

    • logs: Record<string, unknown>[]

      An array of objects matching the schema defined by the provided stream.

    • Optional options: UploadOptions

      The options parameters. See error response code and error response message for more detail.

    Returns Promise<UploadResult>

Generated using TypeDoc