LogFilesDataSource Class
Definition of which custom log files will be collected by this data collection rule.
All required parameters must be populated in order to send to server.
Constructor
LogFilesDataSource(*, streams: List[str], file_patterns: List[str], format: str | _models.KnownLogFilesDataSourceFormat, settings: _models.LogFilesDataSourceSettings | None = None, transform_kql: str | None = None, name: str | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
streams
|
List of streams that this data source will be sent to. A stream indicates what schema will be used for this data source. Required. |
|
file_patterns
|
File Patterns where the log files are located. Required. |
|
format
|
The data format of the log files. Required. Known values are: "json" and "text". |
|
settings
|
The log files specific settings. Default value: None
|
|
transform_kql
|
The KQL query to transform the data source. Default value: None
|
|
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. Default value: None
|
Variables
| Name | Description |
|---|---|
|
streams
|
List of streams that this data source will be sent to. A stream indicates what schema will be used for this data source. Required. |
|
file_patterns
|
File Patterns where the log files are located. Required. |
|
format
|
The data format of the log files. Required. Known values are: "json" and "text". |
|
settings
|
The log files specific settings. |
|
transform_kql
|
The KQL query to transform the data source. |
|
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. |