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