LogRules Class
Set of rules for sending logs for the Monitor resource.
- Inheritance
-
LogRules
Constructor
LogRules(*, send_aad_logs: Optional[bool] = None, send_subscription_logs: Optional[bool] = None, send_resource_logs: Optional[bool] = None, filtering_tags: Optional[List[azure.mgmt.datadog.models._models_py3.FilteringTag]] = None, **kwargs)
Parameters
- send_subscription_logs
- bool
Required
Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- send_resource_logs
- bool
Required
Flag specifying if Azure resource logs should be sent for the Monitor resource.
- filtering_tags
- list[<xref:microsoft_datadog_client.models.FilteringTag>]
Required
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.
Feedback
Submit and view feedback for