Partager via


SyslogDataSource Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.SyslogDataSourceTypeConverter))]
public class SyslogDataSource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ISyslogDataSource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.SyslogDataSourceTypeConverter))>]
type SyslogDataSource = class
    interface ISyslogDataSource
    interface IJsonSerializable
Public Class SyslogDataSource
Implements ISyslogDataSource
Inheritance
SyslogDataSource
Attributes
Implements

Constructors

SyslogDataSource()

Creates an new SyslogDataSource instance.

Properties

FacilityName

The list of facility names.

LogLevel

The log levels to collect.

Name

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

Stream

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SyslogDataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SyslogDataSource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ISyslogDataSource.

FromJsonString(String)

Creates a new instance of SyslogDataSource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SyslogDataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to