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