This data source provides details about a specific Log Analytics Log Groups Summary resource in Oracle Cloud Infrastructure Log Analytics service.
Returns the count of log groups in a compartment.
data "oci_log_analytics_log_analytics_log_groups_summary" "test_log_analytics_log_groups_summary" {
#Required
compartment_id = var.compartment_id
namespace = var.log_analytics_log_groups_summary_namespace
}
The following arguments are supported:
compartment_id
- (Required) The ID of the compartment in which to list resources.namespace
- (Required) The Logging Analytics namespace used for the request. The following attributes are exported:
count
- The log group count.