你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PSWindowsEventLogDataSource Class

Definition

Wraps the WindowsEventLogDataSource class.

public class PSWindowsEventLogDataSource
type PSWindowsEventLogDataSource = class
Public Class PSWindowsEventLogDataSource
Inheritance
PSWindowsEventLogDataSource

Constructors

PSWindowsEventLogDataSource()

Initializes a new instance of the PSWindowsEventLogDataSource class.

PSWindowsEventLogDataSource(WindowsEventLogDataSource)

Initializes a new instance of the PSWindowsEventLogDataSource 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.

ScheduledTransferPeriod

Gets or sets the interval between data uploads (scheduled transfers), rounded up to the nearest minute. Possible values include: 'PT1M', 'PT5M', 'PT15M', 'PT30M', 'PT60M'

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