Data Source: oci_log_analytics_namespace
This data source provides details about a specific Namespace resource in Oracle Cloud Infrastructure Log Analytics service.
This API gets the namespace details of a tenancy already onboarded in Log Analytics Application
Example Usage
data "oci_log_analytics_namespace" "test_namespace" {
#Required
namespace = var.namespace_namespace
}
Argument Reference
The following arguments are supported:
namespace- (Required) The Log Analytics namespace used for the request. The namespace can be obtained by running ‘oci os ns get’
Attributes Reference
The following attributes are exported:
compartment_id- This is the tenancy IDis_archiving_enabled- This indicates if old data can be archived for a tenancyis_onboarded- This indicates if the tenancy is onboarded to Log Analyticsnamespace- This is the namespace name of a tenancystate- The current state of the compartment.is_logSet_enabled- This indicates if the tenancy is logSet enableis_data_ever_ingested- This indicates if the tenancy is data ever ingested