共用方式為


LogFilesDataSource Class

Definition

Definition of which custom log files will be collected by this data collection rule

public class LogFilesDataSource
type LogFilesDataSource = class
Public Class LogFilesDataSource
Inheritance
LogFilesDataSource

Constructors

LogFilesDataSource()

Initializes a new instance of the LogFilesDataSource class.

LogFilesDataSource(IList<String>, IList<String>, LogFilesDataSourceSettings, String)

Initializes a new instance of the LogFilesDataSource class.

Properties

FilePatterns

Gets or sets file Patterns where the log files are located

Format

The data format of the log files

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.

Settings

Gets or sets the log files specific settings.

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 source

Methods

Validate()

Validate the object.

Applies to