DataCollectionRuleDataSourcesLogFile

data class DataCollectionRuleDataSourcesLogFile(val filePatterns: List<String>, val format: String, val name: String, val settings: DataCollectionRuleDataSourcesLogFileSettings? = null, val streams: List<String>)

Constructors

Link copied to clipboard
constructor(filePatterns: List<String>, format: String, name: String, settings: DataCollectionRuleDataSourcesLogFileSettings? = null, streams: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies a list of file patterns where the log files are located. For example, C:\\JavaLogs\\*.log.

Link copied to clipboard

The data format of the log files. Possible values are text and json.

Link copied to clipboard

The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.

Link copied to clipboard

A settings block as defined below.

Link copied to clipboard

Specifies a 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. Possible value should be custom stream names.