Logging Functions
Package: DBMS_CLOUD_OCI_LOG_LOGGING_MANAGEMENT
CHANGE_LOG_GROUP_COMPARTMENT Function
Moves a log group into a different compartment within the same tenancy. When provided, the If-Match is checked against the resource ETag values. For information about moving resources between compartments, see Moving Resources Between Compartments.
Syntax
FUNCTION change_log_group_compartment (
log_group_id varchar2,
change_log_group_compartment_details dbms_cloud_oci_logging_change_log_group_compartment_details_t,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_change_log_group_compartment_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(required) Request to change the compartment of a given resource. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
CHANGE_LOG_LOG_GROUP Function
Moves a log into a different log group within the same tenancy. When provided, the If-Match is checked against the ETag values of the resource.
Syntax
FUNCTION change_log_log_group (
log_group_id varchar2,
log_id varchar2,
change_log_log_group_details dbms_cloud_oci_logging_change_log_log_group_details_t,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_change_log_log_group_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(required) OCID of a log to work with. |
|
(required) Request to change the log group of a given log. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
CHANGE_LOG_SAVED_SEARCH_COMPARTMENT Function
Moves a saved search into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
Syntax
FUNCTION change_log_saved_search_compartment (
log_saved_search_id varchar2,
change_log_saved_search_compartment_details dbms_cloud_oci_logging_change_log_saved_search_compartment_details_t,
opc_retry_token varchar2 DEFAULT NULL,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_change_log_saved_search_compartment_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of the logSavedSearch. |
|
(required) Contains details indicating which compartment the resource should move to. |
|
(optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
CHANGE_UNIFIED_AGENT_CONFIGURATION_COMPARTMENT Function
Moves the unified agent configuration into a different compartment within the same tenancy. When provided, the If-Match is checked against the ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments.
Syntax
FUNCTION change_unified_agent_configuration_compartment (
unified_agent_configuration_id varchar2,
change_unified_agent_configuration_compartment_details dbms_cloud_oci_logging_change_unified_agent_configuration_compartment_details_t,
opc_retry_token varchar2 DEFAULT NULL,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_change_unified_agent_configuration_compartment_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the Unified Agent configuration. |
|
(required) Request to change the compartment of a given resource. |
|
(optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
CREATE_LOG Function
Creates a log within the specified log group. This call fails if a log group has already been created with the same displayName or (service, resource, category) triplet.
Syntax
FUNCTION create_log (
log_group_id varchar2,
create_log_details dbms_cloud_oci_logging_create_log_details_t,
opc_retry_token varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_create_log_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(required) Log object configuration details. |
|
(optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
CREATE_LOG_GROUP Function
Create a new log group with a unique display name. This call fails if the log group is already created with the same displayName in the compartment.
Syntax
FUNCTION create_log_group (
create_log_group_details dbms_cloud_oci_logging_create_log_group_details_t,
opc_retry_token varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_create_log_group_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Details to create log group. |
|
(optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
CREATE_LOG_SAVED_SEARCH Function
Creates a new LogSavedSearch.
Syntax
FUNCTION create_log_saved_search (
create_log_saved_search_details dbms_cloud_oci_logging_create_log_saved_search_details_t,
opc_retry_token varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_create_log_saved_search_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Specification of the saved search to create. |
|
(optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
CREATE_UNIFIED_AGENT_CONFIGURATION Function
Create unified agent configuration registration.
Syntax
FUNCTION create_unified_agent_configuration (
create_unified_agent_configuration_details dbms_cloud_oci_logging_create_unified_agent_configuration_details_t,
opc_request_id varchar2 DEFAULT NULL,
opc_retry_token varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_create_unified_agent_configuration_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unified agent configuration creation object. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
DELETE_LOG Function
Deletes the log object in a log group.
Syntax
FUNCTION delete_log (
log_group_id varchar2,
log_id varchar2,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_delete_log_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(required) OCID of a log to work with. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
DELETE_LOG_GROUP Function
Deletes the specified log group.
Syntax
FUNCTION delete_log_group (
log_group_id varchar2,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_delete_log_group_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
DELETE_LOG_SAVED_SEARCH Function
Deletes the specified LogSavedSearch.
Syntax
FUNCTION delete_log_saved_search (
log_saved_search_id varchar2,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_delete_log_saved_search_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of the logSavedSearch. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
DELETE_UNIFIED_AGENT_CONFIGURATION Function
Delete unified agent configuration.
Syntax
FUNCTION delete_unified_agent_configuration (
unified_agent_configuration_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
if_match varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_delete_unified_agent_configuration_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the Unified Agent configuration. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
DELETE_WORK_REQUEST Function
Cancel a work request that has not started yet.
Syntax
FUNCTION delete_work_request (
work_request_id varchar2,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_delete_work_request_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The asynchronous request ID. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
GET_LOG Function
Gets the log object configuration for the log object OCID.
Syntax
FUNCTION get_log (
log_group_id varchar2,
log_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_get_log_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(required) OCID of a log to work with. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
GET_LOG_GROUP Function
Get the specified log group's information.
Syntax
FUNCTION get_log_group (
log_group_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_get_log_group_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
GET_LOG_SAVED_SEARCH Function
Retrieves a LogSavedSearch.
Syntax
FUNCTION get_log_saved_search (
log_saved_search_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_get_log_saved_search_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of the logSavedSearch. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
GET_UNIFIED_AGENT_CONFIGURATION Function
Get the unified agent configuration for an ID.
Syntax
FUNCTION get_unified_agent_configuration (
unified_agent_configuration_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_get_unified_agent_configuration_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the Unified Agent configuration. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
GET_WORK_REQUEST Function
Gets the details of the work request with the given ID.
Syntax
FUNCTION get_work_request (
work_request_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_get_work_request_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The asynchronous request ID. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_LOG_GROUPS Function
Lists all log groups for the specified compartment or tenancy.
Syntax
FUNCTION list_log_groups (
compartment_id varchar2,
is_compartment_id_in_subtree number DEFAULT NULL,
display_name varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_log_groups_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. |
|
(optional) Specifies whether or not nested compartments should be traversed. Defaults to false. |
|
(optional) Resource name. |
|
(optional) For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call. For important details about how pagination works, see List Pagination. |
|
(optional) The maximum number of items to return in a paginated \"List\" call. |
|
(optional) The field to sort by (one column only). Default sort order is ascending exception of `timeCreated` and `timeLastModified` columns (descending). Allowed values are: 'timeCreated', 'displayName' |
|
(optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_LOG_SAVED_SEARCHES Function
Lists LogSavedSearches for this compartment.
Syntax
FUNCTION list_log_saved_searches (
compartment_id varchar2,
log_saved_search_id varchar2 DEFAULT NULL,
name varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_log_saved_searches_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. |
|
(optional) OCID of the LogSavedSearch. |
|
(optional) Resource name. |
|
(optional) For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call. For important details about how pagination works, see List Pagination. |
|
(optional) The maximum number of items to return in a paginated \"List\" call. |
|
(optional) The field to sort by (one column only). Default sort order is ascending exception of `timeCreated` and `timeLastModified` columns (descending). Allowed values are: 'timeCreated', 'displayName' |
|
(optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_LOGS Function
Lists the specified log group's log objects.
Syntax
FUNCTION list_logs (
log_group_id varchar2,
log_type varchar2 DEFAULT NULL,
source_service varchar2 DEFAULT NULL,
source_resource varchar2 DEFAULT NULL,
display_name varchar2 DEFAULT NULL,
lifecycle_state varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_logs_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(optional) The logType that the log object is for, whether custom or service. Allowed values are: 'CUSTOM', 'SERVICE' |
|
(optional) Service that created the log object, which is a field of LogSummary.Configuration.Source. |
|
(optional) Log object resource, which is a field of LogSummary.Configuration.Source. |
|
(optional) Resource name. |
|
(optional) Lifecycle state of the log object Allowed values are: 'CREATING', 'ACTIVE', 'UPDATING', 'INACTIVE', 'DELETING', 'FAILED' |
|
(optional) For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call. For important details about how pagination works, see List Pagination. |
|
(optional) The maximum number of items to return in a paginated \"List\" call. |
|
(optional) The field to sort by (one column only). Default sort order is ascending exception of `timeCreated` and `timeLastModified` columns (descending). Allowed values are: 'timeCreated', 'displayName' |
|
(optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_SERVICES Function
Lists all services that support logging.
Syntax
FUNCTION list_services (
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_services_response_t;
Parameters
Parameter | Description |
---|---|
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_UNIFIED_AGENT_CONFIGURATIONS Function
Lists all unified agent configurations in the specified compartment.
Syntax
FUNCTION list_unified_agent_configurations (
compartment_id varchar2,
log_id varchar2 DEFAULT NULL,
is_compartment_id_in_subtree number DEFAULT NULL,
group_id varchar2 DEFAULT NULL,
display_name varchar2 DEFAULT NULL,
lifecycle_state varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
page varchar2 DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_unified_agent_configurations_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. |
|
(optional) Custom log OCID to list resources with the log as destination. |
|
(optional) Specifies whether or not nested compartments should be traversed. Defaults to false. |
|
(optional) The OCID of a group or a dynamic group. |
|
(optional) Resource name. |
|
(optional) Lifecycle state of the log object Allowed values are: 'CREATING', 'ACTIVE', 'UPDATING', 'INACTIVE', 'DELETING', 'FAILED' |
|
(optional) The maximum number of items to return in a paginated \"List\" call. |
|
(optional) For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call. For important details about how pagination works, see List Pagination. |
|
(optional) The field to sort by (one column only). Default sort order is ascending exception of `timeCreated` and `timeLastModified` columns (descending). Allowed values are: 'timeCreated', 'displayName' |
|
(optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_WORK_REQUEST_ERRORS Function
Return a list of errors for a given work request.
Syntax
FUNCTION list_work_request_errors (
work_request_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_work_request_errors_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The asynchronous request ID. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call. For important details about how pagination works, see List Pagination. |
|
(optional) The maximum number of items to return in a paginated \"List\" call. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_WORK_REQUEST_LOGS Function
Return a list of logs for a given work request.
Syntax
FUNCTION list_work_request_logs (
work_request_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_work_request_logs_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The asynchronous request ID. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call. For important details about how pagination works, see List Pagination. |
|
(optional) The maximum number of items to return in a paginated \"List\" call. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
LIST_WORK_REQUESTS Function
Lists the work requests in a compartment.
Syntax
FUNCTION list_work_requests (
compartment_id varchar2,
status varchar2 DEFAULT NULL,
id varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
page varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
sort_order varchar2 DEFAULT NULL,
sort_by varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_list_work_requests_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Compartment OCID to list resources in. See compartmentIdInSubtree for nested compartments traversal. |
|
(optional) Filter results by work request status. Allowed values are: 'ACCEPTED', 'IN_PROGRESS', 'FAILED', 'SUCCEEDED', 'CANCELLING', 'CANCELED' |
|
(optional) <b>Filter</b> results by OCID. Must be an OCID of the correct type for the resource type. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous \"List\" call. For important details about how pagination works, see List Pagination. |
|
(optional) The maximum number of items to return in a paginated \"List\" call. |
|
(optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: 'ASC', 'DESC' |
|
(optional) Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Allowed values are: 'operationType', 'status', 'timeAccepted' |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
UPDATE_LOG Function
Updates the existing log object with the associated configuration. This call fails if the log object does not exist.
Syntax
FUNCTION update_log (
log_group_id varchar2,
log_id varchar2,
update_log_details dbms_cloud_oci_logging_update_log_details_t,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_update_log_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(required) OCID of a log to work with. |
|
(required) Log config parameters to update. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
UPDATE_LOG_GROUP Function
Updates the existing log group with the associated configuration. This call fails if the log group does not exist.
Syntax
FUNCTION update_log_group (
log_group_id varchar2,
update_log_group_details dbms_cloud_oci_logging_update_log_group_details_t,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_update_log_group_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of a log group to work with. |
|
(required) LogGroup config parameters to update. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
UPDATE_LOG_SAVED_SEARCH Function
Updates an existing LogSavedSearch.
Syntax
FUNCTION update_log_saved_search (
log_saved_search_id varchar2,
update_log_saved_search_details dbms_cloud_oci_logging_update_log_saved_search_details_t,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_update_log_saved_search_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) OCID of the logSavedSearch. |
|
(required) Updates to the saved search. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
UPDATE_UNIFIED_AGENT_CONFIGURATION Function
Update an existing unified agent configuration. This call fails if the log group does not exist.
Syntax
FUNCTION update_unified_agent_configuration (
unified_agent_configuration_id varchar2,
update_unified_agent_configuration_details dbms_cloud_oci_logging_update_unified_agent_configuration_details_t,
if_match varchar2 DEFAULT NULL,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_log_logging_management_update_unified_agent_configuration_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) The OCID of the Unified Agent configuration. |
|
(required) Unified agent configuration to update. Empty group associations list doesn't modify the list, null value for group association clears all the previous associations. |
|
(optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://logging.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |