你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LogRules interface

Set of rules for sending logs for the Monitor resource.

Properties

filteringTags

List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.

sendAadLogs

Flag specifying if AAD logs should be sent for the Monitor resource.

sendActivityLogs

Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.

sendSubscriptionLogs

Flag specifying if subscription logs should be sent for the Monitor resource.

Property Details

filteringTags

List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.

filteringTags?: FilteringTag[]

Property Value

sendAadLogs

Flag specifying if AAD logs should be sent for the Monitor resource.

sendAadLogs?: string

Property Value

string

sendActivityLogs

Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.

sendActivityLogs?: string

Property Value

string

sendSubscriptionLogs

Flag specifying if subscription logs should be sent for the Monitor resource.

sendSubscriptionLogs?: string

Property Value

string