共用方式為


SyslogDataSource Class

Definition

Definition of which syslog data will be collected and how it will be collected. Only collected from Linux machines.

public class SyslogDataSource
type SyslogDataSource = class
Public Class SyslogDataSource
Inheritance
SyslogDataSource

Constructors

SyslogDataSource()

Initializes a new instance of the SyslogDataSource class.

SyslogDataSource(IList<String>, IList<String>, IList<String>, String)

Initializes a new instance of the SyslogDataSource class.

Properties

FacilityNames

Gets or sets the list of facility names.

LogLevels

Gets or sets the log levels to collect.

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.

Applies to