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 SendResourceLogs 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.

sendResourceLogs

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

sendSubscriptionLogs

Flag specifying if Azure 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 SendResourceLogs 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?: boolean

Property Value

boolean

sendResourceLogs

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

sendResourceLogs?: boolean

Property Value

boolean

sendSubscriptionLogs

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

sendSubscriptionLogs?: boolean

Property Value

boolean