ArmMonitorModelFactory.IisLogsDataSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables IIS logs to be collected by this data collection rule.
public static Azure.ResourceManager.Monitor.Models.IisLogsDataSource IisLogsDataSource(System.Collections.Generic.IEnumerable<string> streams = default, System.Collections.Generic.IEnumerable<string> logDirectories = default, string transformKql = default, string name = default);
static member IisLogsDataSource : seq<string> * seq<string> * string * string -> Azure.ResourceManager.Monitor.Models.IisLogsDataSource
Public Shared Function IisLogsDataSource (Optional streams As IEnumerable(Of String) = Nothing, Optional logDirectories As IEnumerable(Of String) = Nothing, Optional transformKql As String = Nothing, Optional name As String = Nothing) As IisLogsDataSource
Parameters
- streams
- IEnumerable<String>
IIS streams.
- logDirectories
- IEnumerable<String>
Absolute paths file location.
- transformKql
- String
The KQL query to transform the data source. This is a deprecated property and will be removed in future versions.
- name
- String
A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.
Returns
A new IisLogsDataSource instance for mocking.