Logging Search Functions
Package: DBMS_CLOUD_OCI_LOGSRCH_LOG_SEARCH
SEARCH_LOGS Function
Submit a query to search logs. See Using the API for SDK examples.
Syntax
FUNCTION search_logs (
search_logs_details dbms_cloud_oci_logging_search_search_logs_details_t,
opc_request_id varchar2 DEFAULT NULL,
limit number DEFAULT NULL,
page varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_logsrch_log_search_search_logs_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Search request. |
|
(optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
|
(optional) The maximum number of items to return in a response. Pagination is not supported in this API. |
|
(optional) For list pagination. The value of the opc-next-page response header from the previous \"Search\" call. For important details about how pagination works, see List Pagination. |
|
(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. |