共用方式為


WindowsEventLogDataSource Class

Definition

Definition of which Windows Event Log events will be collected and how they will be collected. Only collected from Windows machines.

public class WindowsEventLogDataSource
type WindowsEventLogDataSource = class
Public Class WindowsEventLogDataSource
Inheritance
WindowsEventLogDataSource

Constructors

WindowsEventLogDataSource()

Initializes a new instance of the WindowsEventLogDataSource class.

WindowsEventLogDataSource(IList<String>, IList<String>, String)

Initializes a new instance of the WindowsEventLogDataSource class.

Properties

Name

Gets or sets a friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

Streams

Gets or sets list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

XPathQueries

Gets or sets a list of Windows Event Log queries in XPATH format.

Applies to