external help file | Module Name | online version | schema |
---|---|---|---|
Az.DataCollectionRule.psm1-help.xml |
Az.Monitor |
2.0.0 |
Create an in-memory object for IisLogsDataSource.
New-AzIisLogsDataSourceObject -Stream <String[]> [-LogDirectory <String[]>] [-Name <String>]
[<CommonParameters>]
Create an in-memory object for IisLogsDataSource.
New-AzIisLogsDataSourceObject -Stream "Microsoft-W3CIISLog" -LogDirectory "c:\\test" -Name "iisLogsDataSource"
LogDirectory Name Stream
------------ ---- ------
{c:\\test} iisLogsDataSource {Microsoft-W3CIISLog}
This command creates iis logs data source object.
Absolute paths file location.
Type: System.String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
IIS streams.
Type: System.String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.