Oracle Cloud Infrastructure v3.0.0 published on Thursday, Jun 5, 2025 by Pulumi
oci.LogAnalytics.getLogAnalyticsEntities
Explore with Pulumi AI
This data source provides the list of Log Analytics Entities in Oracle Cloud Infrastructure Log Analytics service.
Return a list of log analytics entities.
Using getLogAnalyticsEntities
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLogAnalyticsEntities(args: GetLogAnalyticsEntitiesArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsEntitiesResult>
function getLogAnalyticsEntitiesOutput(args: GetLogAnalyticsEntitiesOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsEntitiesResult>
def get_log_analytics_entities(cloud_resource_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tag_equals: Optional[Sequence[str]] = None,
defined_tag_exists: Optional[Sequence[str]] = None,
entity_type_names: Optional[Sequence[str]] = None,
filters: Optional[Sequence[GetLogAnalyticsEntitiesFilter]] = None,
freeform_tag_equals: Optional[Sequence[str]] = None,
freeform_tag_exists: Optional[Sequence[str]] = None,
hostname: Optional[str] = None,
hostname_contains: Optional[str] = None,
is_management_agent_id_null: Optional[str] = None,
is_show_associated_sources_count: Optional[bool] = None,
lifecycle_details_contains: Optional[str] = None,
metadata_equals: Optional[Sequence[str]] = None,
name: Optional[str] = None,
name_contains: Optional[str] = None,
namespace: Optional[str] = None,
source_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsEntitiesResult
def get_log_analytics_entities_output(cloud_resource_id: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
defined_tag_equals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
defined_tag_exists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
entity_type_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetLogAnalyticsEntitiesFilterArgs]]]] = None,
freeform_tag_equals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
freeform_tag_exists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
hostname: Optional[pulumi.Input[str]] = None,
hostname_contains: Optional[pulumi.Input[str]] = None,
is_management_agent_id_null: Optional[pulumi.Input[str]] = None,
is_show_associated_sources_count: Optional[pulumi.Input[bool]] = None,
lifecycle_details_contains: Optional[pulumi.Input[str]] = None,
metadata_equals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
name_contains: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
source_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsEntitiesResult]
func GetLogAnalyticsEntities(ctx *Context, args *GetLogAnalyticsEntitiesArgs, opts ...InvokeOption) (*GetLogAnalyticsEntitiesResult, error)
func GetLogAnalyticsEntitiesOutput(ctx *Context, args *GetLogAnalyticsEntitiesOutputArgs, opts ...InvokeOption) GetLogAnalyticsEntitiesResultOutput
> Note: This function is named GetLogAnalyticsEntities
in the Go SDK.
public static class GetLogAnalyticsEntities
{
public static Task<GetLogAnalyticsEntitiesResult> InvokeAsync(GetLogAnalyticsEntitiesArgs args, InvokeOptions? opts = null)
public static Output<GetLogAnalyticsEntitiesResult> Invoke(GetLogAnalyticsEntitiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogAnalyticsEntitiesResult> getLogAnalyticsEntities(GetLogAnalyticsEntitiesArgs args, InvokeOptions options)
public static Output<GetLogAnalyticsEntitiesResult> getLogAnalyticsEntities(GetLogAnalyticsEntitiesArgs args, InvokeOptions options)
fn::invoke:
function: oci:LogAnalytics/getLogAnalyticsEntities:getLogAnalyticsEntities
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Namespace string
- The Logging Analytics namespace used for the request.
- Cloud
Resource stringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- Defined
Tag List<string>Equals - A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- Defined
Tag List<string>Exists - A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- Entity
Type List<string>Names - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- Filters
List<Get
Log Analytics Entities Filter> - Freeform
Tag List<string>Equals - A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- Freeform
Tag List<string>Exists - A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND".
- Hostname string
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- Hostname
Contains string - A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
- Is
Management stringAgent Id Null - A filter to return only those log analytics entities whose managementAgentId is null or is not null.
- Is
Show boolAssociated Sources Count - Option to return count of associated log sources for log analytics entity(s).
- Lifecycle
Details stringContains - A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
- Metadata
Equals List<string> - A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
- Name string
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- Name
Contains string - A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
- Source
Id string - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- State string
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Namespace string
- The Logging Analytics namespace used for the request.
- Cloud
Resource stringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- Defined
Tag []stringEquals - A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- Defined
Tag []stringExists - A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- Entity
Type []stringNames - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- Filters
[]Get
Log Analytics Entities Filter - Freeform
Tag []stringEquals - A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- Freeform
Tag []stringExists - A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND".
- Hostname string
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- Hostname
Contains string - A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
- Is
Management stringAgent Id Null - A filter to return only those log analytics entities whose managementAgentId is null or is not null.
- Is
Show boolAssociated Sources Count - Option to return count of associated log sources for log analytics entity(s).
- Lifecycle
Details stringContains - A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
- Metadata
Equals []string - A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
- Name string
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- Name
Contains string - A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
- Source
Id string - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- State string
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- compartment
Id String - The ID of the compartment in which to list resources.
- namespace String
- The Logging Analytics namespace used for the request.
- cloud
Resource StringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- defined
Tag List<String>Equals - A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- defined
Tag List<String>Exists - A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- entity
Type List<String>Names - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- filters
List<Get
Entities Filter> - freeform
Tag List<String>Equals - A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- freeform
Tag List<String>Exists - A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND".
- hostname String
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- hostname
Contains String - A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
- is
Management StringAgent Id Null - A filter to return only those log analytics entities whose managementAgentId is null or is not null.
- is
Show BooleanAssociated Sources Count - Option to return count of associated log sources for log analytics entity(s).
- lifecycle
Details StringContains - A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
- metadata
Equals List<String> - A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
- name String
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- name
Contains String - A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
- source
Id String - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state String
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- compartment
Id string - The ID of the compartment in which to list resources.
- namespace string
- The Logging Analytics namespace used for the request.
- cloud
Resource stringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- defined
Tag string[]Equals - A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- defined
Tag string[]Exists - A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- entity
Type string[]Names - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- filters
Get
Log Analytics Entities Filter[] - freeform
Tag string[]Equals - A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- freeform
Tag string[]Exists - A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND".
- hostname string
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- hostname
Contains string - A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
- is
Management stringAgent Id Null - A filter to return only those log analytics entities whose managementAgentId is null or is not null.
- is
Show booleanAssociated Sources Count - Option to return count of associated log sources for log analytics entity(s).
- lifecycle
Details stringContains - A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
- metadata
Equals string[] - A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
- name string
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- name
Contains string - A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
- source
Id string - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state string
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- compartment_
id str - The ID of the compartment in which to list resources.
- namespace str
- The Logging Analytics namespace used for the request.
- cloud_
resource_ strid - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- defined_
tag_ Sequence[str]equals - A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- defined_
tag_ Sequence[str]exists - A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- entity_
type_ Sequence[str]names - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- filters
Sequence[Get
Log Analytics Entities Filter] - freeform_
tag_ Sequence[str]equals - A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- freeform_
tag_ Sequence[str]exists - A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND".
- hostname str
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- hostname_
contains str - A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
- is_
management_ stragent_ id_ null - A filter to return only those log analytics entities whose managementAgentId is null or is not null.
- is_
show_ boolassociated_ sources_ count - Option to return count of associated log sources for log analytics entity(s).
- lifecycle_
details_ strcontains - A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
- metadata_
equals Sequence[str] - A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
- name str
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- name_
contains str - A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
- source_
id str - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state str
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- compartment
Id String - The ID of the compartment in which to list resources.
- namespace String
- The Logging Analytics namespace used for the request.
- cloud
Resource StringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- defined
Tag List<String>Equals - A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- defined
Tag List<String>Exists - A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) or "{namespace}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- entity
Type List<String>Names - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- filters List<Property Map>
- freeform
Tag List<String>Equals - A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- freeform
Tag List<String>Exists - A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is "{tagName}.true". All inputs are case-insensitive. Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. Multiple values for different tag names are interpreted as "AND".
- hostname String
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- hostname
Contains String - A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
- is
Management StringAgent Id Null - A filter to return only those log analytics entities whose managementAgentId is null or is not null.
- is
Show BooleanAssociated Sources Count - Option to return count of associated log sources for log analytics entity(s).
- lifecycle
Details StringContains - A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
- metadata
Equals List<String> - A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
- name String
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- name
Contains String - A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
- source
Id String - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state String
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
getLogAnalyticsEntities Result
The following output properties are available:
- Compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Analytics List<GetEntity Collections Log Analytics Entities Log Analytics Entity Collection> - The list of log_analytics_entity_collection.
- Namespace string
- Cloud
Resource stringId - The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
- Defined
Tag List<string>Equals - Defined
Tag List<string>Exists - Entity
Type List<string>Names - Log analytics entity type name.
- Filters
List<Get
Log Analytics Entities Filter> - Freeform
Tag List<string>Equals - Freeform
Tag List<string>Exists - Hostname string
- The hostname where the entity represented here is actually present. This would be the output one would get if they run
echo $HOSTNAME
on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely. - Hostname
Contains string - Is
Management stringAgent Id Null - Is
Show boolAssociated Sources Count - Lifecycle
Details stringContains - Metadata
Equals List<string> - Name string
- Log analytics entity name.
- Name
Contains string - Source
Id string - This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- State string
- The current state of the log analytics entity.
- Compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Analytics []GetEntity Collections Log Analytics Entities Log Analytics Entity Collection - The list of log_analytics_entity_collection.
- Namespace string
- Cloud
Resource stringId - The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
- Defined
Tag []stringEquals - Defined
Tag []stringExists - Entity
Type []stringNames - Log analytics entity type name.
- Filters
[]Get
Log Analytics Entities Filter - Freeform
Tag []stringEquals - Freeform
Tag []stringExists - Hostname string
- The hostname where the entity represented here is actually present. This would be the output one would get if they run
echo $HOSTNAME
on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely. - Hostname
Contains string - Is
Management stringAgent Id Null - Is
Show boolAssociated Sources Count - Lifecycle
Details stringContains - Metadata
Equals []string - Name string
- Log analytics entity name.
- Name
Contains string - Source
Id string - This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- State string
- The current state of the log analytics entity.
- compartment
Id String - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id String
- The provider-assigned unique ID for this managed resource.
- log
Analytics List<GetEntity Collections Entities Entity Collection> - The list of log_analytics_entity_collection.
- namespace String
- cloud
Resource StringId - The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
- defined
Tag List<String>Equals - defined
Tag List<String>Exists - entity
Type List<String>Names - Log analytics entity type name.
- filters
List<Get
Entities Filter> - freeform
Tag List<String>Equals - freeform
Tag List<String>Exists - hostname String
- The hostname where the entity represented here is actually present. This would be the output one would get if they run
echo $HOSTNAME
on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely. - hostname
Contains String - is
Management StringAgent Id Null - is
Show BooleanAssociated Sources Count - lifecycle
Details StringContains - metadata
Equals List<String> - name String
- Log analytics entity name.
- name
Contains String - source
Id String - This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state String
- The current state of the log analytics entity.
- compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id string
- The provider-assigned unique ID for this managed resource.
- log
Analytics GetEntity Collections Log Analytics Entities Log Analytics Entity Collection[] - The list of log_analytics_entity_collection.
- namespace string
- cloud
Resource stringId - The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
- defined
Tag string[]Equals - defined
Tag string[]Exists - entity
Type string[]Names - Log analytics entity type name.
- filters
Get
Log Analytics Entities Filter[] - freeform
Tag string[]Equals - freeform
Tag string[]Exists - hostname string
- The hostname where the entity represented here is actually present. This would be the output one would get if they run
echo $HOSTNAME
on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely. - hostname
Contains string - is
Management stringAgent Id Null - is
Show booleanAssociated Sources Count - lifecycle
Details stringContains - metadata
Equals string[] - name string
- Log analytics entity name.
- name
Contains string - source
Id string - This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state string
- The current state of the log analytics entity.
- compartment_
id str - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id str
- The provider-assigned unique ID for this managed resource.
- log_
analytics_ Sequence[Getentity_ collections Log Analytics Entities Log Analytics Entity Collection] - The list of log_analytics_entity_collection.
- namespace str
- cloud_
resource_ strid - The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
- defined_
tag_ Sequence[str]equals - defined_
tag_ Sequence[str]exists - entity_
type_ Sequence[str]names - Log analytics entity type name.
- filters
Sequence[Get
Log Analytics Entities Filter] - freeform_
tag_ Sequence[str]equals - freeform_
tag_ Sequence[str]exists - hostname str
- The hostname where the entity represented here is actually present. This would be the output one would get if they run
echo $HOSTNAME
on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely. - hostname_
contains str - is_
management_ stragent_ id_ null - is_
show_ boolassociated_ sources_ count - lifecycle_
details_ strcontains - metadata_
equals Sequence[str] - name str
- Log analytics entity name.
- name_
contains str - source_
id str - This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state str
- The current state of the log analytics entity.
- compartment
Id String - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- id String
- The provider-assigned unique ID for this managed resource.
- log
Analytics List<Property Map>Entity Collections - The list of log_analytics_entity_collection.
- namespace String
- cloud
Resource StringId - The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
- defined
Tag List<String>Equals - defined
Tag List<String>Exists - entity
Type List<String>Names - Log analytics entity type name.
- filters List<Property Map>
- freeform
Tag List<String>Equals - freeform
Tag List<String>Exists - hostname String
- The hostname where the entity represented here is actually present. This would be the output one would get if they run
echo $HOSTNAME
on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely. - hostname
Contains String - is
Management StringAgent Id Null - is
Show BooleanAssociated Sources Count - lifecycle
Details StringContains - metadata
Equals List<String> - name String
- Log analytics entity name.
- name
Contains String - source
Id String - This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state String
- The current state of the log analytics entity.
Supporting Types
GetLogAnalyticsEntitiesFilter
GetLogAnalyticsEntitiesLogAnalyticsEntityCollection
- Items
List<Get
Log Analytics Entities Log Analytics Entity Collection Item> - An array of entity metadata.
- Items
[]Get
Log Analytics Entities Log Analytics Entity Collection Item - An array of entity metadata.
- items
List<Get
Entities Entity Collection Item> - An array of entity metadata.
- items
Get
Log Analytics Entities Log Analytics Entity Collection Item[] - An array of entity metadata.
- items
Sequence[Get
Log Analytics Entities Log Analytics Entity Collection Item] - An array of entity metadata.
- items List<Property Map>
- An array of entity metadata.
GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItem
- Are
Logs boolCollected - The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- Associated
Sources intCount - The count of associated log sources for a given log analytics entity.
- Cloud
Resource stringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Entity
Type stringInternal Name - Internal name for the log analytics entity type.
- Entity
Type stringName - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Hostname string
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- Id string
- The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Lifecycle
Details string - lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringCompartment Id - Management agent (management-agents resource kind) compartment OCID
- Management
Agent stringDisplay Name - Management agent (management-agents resource kind) display name
- Management
Agent stringId - The OCID of the Management Agent.
- Metadatas
List<Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata> - Details of entity metadata information.
- Name string
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- Namespace string
- The Logging Analytics namespace used for the request.
- Properties Dictionary<string, string>
- The name/value pairs for parameter values to be used in file patterns specified in log sources.
- Source
Id string - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- State string
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- Time
Created string - The date and time the resource was created, in the format defined by RFC3339.
- Time
Last stringDiscovered - The date and time the resource was last discovered, in the format defined by RFC3339.
- Time
Updated string - The date and time the resource was last updated, in the format defined by RFC3339.
- Timezone
Region string - The timezone region of the log analytics entity.
- Are
Logs boolCollected - The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- Associated
Sources intCount - The count of associated log sources for a given log analytics entity.
- Cloud
Resource stringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- Compartment
Id string - The ID of the compartment in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Entity
Type stringInternal Name - Internal name for the log analytics entity type.
- Entity
Type stringName - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Hostname string
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- Id string
- The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Lifecycle
Details string - lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringCompartment Id - Management agent (management-agents resource kind) compartment OCID
- Management
Agent stringDisplay Name - Management agent (management-agents resource kind) display name
- Management
Agent stringId - The OCID of the Management Agent.
- Metadatas
[]Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata - Details of entity metadata information.
- Name string
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- Namespace string
- The Logging Analytics namespace used for the request.
- Properties map[string]string
- The name/value pairs for parameter values to be used in file patterns specified in log sources.
- Source
Id string - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- State string
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- Time
Created string - The date and time the resource was created, in the format defined by RFC3339.
- Time
Last stringDiscovered - The date and time the resource was last discovered, in the format defined by RFC3339.
- Time
Updated string - The date and time the resource was last updated, in the format defined by RFC3339.
- Timezone
Region string - The timezone region of the log analytics entity.
- are
Logs BooleanCollected - The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- associated
Sources IntegerCount - The count of associated log sources for a given log analytics entity.
- cloud
Resource StringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- entity
Type StringInternal Name - Internal name for the log analytics entity type.
- entity
Type StringName - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname String
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- id String
- The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle
Details String - lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringCompartment Id - Management agent (management-agents resource kind) compartment OCID
- management
Agent StringDisplay Name - Management agent (management-agents resource kind) display name
- management
Agent StringId - The OCID of the Management Agent.
- metadatas
List<Get
Entities Entity Collection Item Metadata> - Details of entity metadata information.
- name String
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- namespace String
- The Logging Analytics namespace used for the request.
- properties Map<String,String>
- The name/value pairs for parameter values to be used in file patterns specified in log sources.
- source
Id String - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state String
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- time
Created String - The date and time the resource was created, in the format defined by RFC3339.
- time
Last StringDiscovered - The date and time the resource was last discovered, in the format defined by RFC3339.
- time
Updated String - The date and time the resource was last updated, in the format defined by RFC3339.
- timezone
Region String - The timezone region of the log analytics entity.
- are
Logs booleanCollected - The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- associated
Sources numberCount - The count of associated log sources for a given log analytics entity.
- cloud
Resource stringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- compartment
Id string - The ID of the compartment in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- entity
Type stringInternal Name - Internal name for the log analytics entity type.
- entity
Type stringName - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname string
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- id string
- The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle
Details string - lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent stringCompartment Id - Management agent (management-agents resource kind) compartment OCID
- management
Agent stringDisplay Name - Management agent (management-agents resource kind) display name
- management
Agent stringId - The OCID of the Management Agent.
- metadatas
Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata[] - Details of entity metadata information.
- name string
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- namespace string
- The Logging Analytics namespace used for the request.
- properties {[key: string]: string}
- The name/value pairs for parameter values to be used in file patterns specified in log sources.
- source
Id string - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state string
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- time
Created string - The date and time the resource was created, in the format defined by RFC3339.
- time
Last stringDiscovered - The date and time the resource was last discovered, in the format defined by RFC3339.
- time
Updated string - The date and time the resource was last updated, in the format defined by RFC3339.
- timezone
Region string - The timezone region of the log analytics entity.
- are_
logs_ boolcollected - The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- associated_
sources_ intcount - The count of associated log sources for a given log analytics entity.
- cloud_
resource_ strid - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- compartment_
id str - The ID of the compartment in which to list resources.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- entity_
type_ strinternal_ name - Internal name for the log analytics entity type.
- entity_
type_ strname - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname str
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- id str
- The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle_
details str - lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management_
agent_ strcompartment_ id - Management agent (management-agents resource kind) compartment OCID
- management_
agent_ strdisplay_ name - Management agent (management-agents resource kind) display name
- management_
agent_ strid - The OCID of the Management Agent.
- metadatas
Sequence[Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata] - Details of entity metadata information.
- name str
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- namespace str
- The Logging Analytics namespace used for the request.
- properties Mapping[str, str]
- The name/value pairs for parameter values to be used in file patterns specified in log sources.
- source_
id str - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state str
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- time_
created str - The date and time the resource was created, in the format defined by RFC3339.
- time_
last_ strdiscovered - The date and time the resource was last discovered, in the format defined by RFC3339.
- time_
updated str - The date and time the resource was last updated, in the format defined by RFC3339.
- timezone_
region str - The timezone region of the log analytics entity.
- are
Logs BooleanCollected - The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- associated
Sources NumberCount - The count of associated log sources for a given log analytics entity.
- cloud
Resource StringId - A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- entity
Type StringInternal Name - Internal name for the log analytics entity type.
- entity
Type StringName - A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname String
- A filter to return only log analytics entities whose hostname matches the entire hostname given.
- id String
- The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle
Details String - lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringCompartment Id - Management agent (management-agents resource kind) compartment OCID
- management
Agent StringDisplay Name - Management agent (management-agents resource kind) display name
- management
Agent StringId - The OCID of the Management Agent.
- metadatas List<Property Map>
- Details of entity metadata information.
- name String
- A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
- namespace String
- The Logging Analytics namespace used for the request.
- properties Map<String>
- The name/value pairs for parameter values to be used in file patterns specified in log sources.
- source
Id String - A filter to return only log analytics entities whose sourceId matches the sourceId given.
- state String
- A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- time
Created String - The date and time the resource was created, in the format defined by RFC3339.
- time
Last StringDiscovered - The date and time the resource was last discovered, in the format defined by RFC3339.
- time
Updated String - The date and time the resource was last updated, in the format defined by RFC3339.
- timezone
Region String - The timezone region of the log analytics entity.
GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadata
- Items
List<Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata Item> - An array of entity metadata.
- Items
[]Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata Item - An array of entity metadata.
- items
List<Get
Entities Entity Collection Item Metadata Item> - An array of entity metadata.
- items
Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata Item[] - An array of entity metadata.
- items
Sequence[Get
Log Analytics Entities Log Analytics Entity Collection Item Metadata Item] - An array of entity metadata.
- items List<Property Map>
- An array of entity metadata.
GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadataItem
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.