Logging Ingestion Common Types
DBMS_CLOUD_OCI_LOGGING_INGESTION_VARCHAR2_TBL Type
Nested table type of varchar2(32767).
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_logging_ingestion_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;
DBMS_CLOUD_OCI_LOGGING_INGESTION_ERROR_T Type
An error has occurred.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_logging_ingestion_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
code varchar2(32767),
message varchar2(32767),
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_error_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_error_t (
code varchar2,
message varchar2
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(required) A short error code that defines the error, meant for programmatic parsing. |
|
(required) A human-readable error string. |
DBMS_CLOUD_OCI_LOGGING_INGESTION_LOG_ENTRY_T Type
Contains the log content with the associated timestamp and ID. Each entry should be less than 1 MB size.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_logging_ingestion_log_entry_t FORCE AUTHID CURRENT_USER IS OBJECT (
data varchar2(32767),
id varchar2(32767),
time timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_log_entry_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_log_entry_t (
data varchar2,
id varchar2,
time timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(required) The log entry content. |
|
(required) UUID uniquely representing this logEntry. This is not an OCID related to any oracle resource. |
|
(optional) Optional. The timestamp associated with the log entry. An RFC3339-formatted date-time string with milliseconds precision. If unspecified, defaults to PutLogsDetails.defaultlogentrytime. |
DBMS_CLOUD_OCI_LOGGING_INGESTION_LOG_ENTRY_TBL Type
Nested table type of dbms_cloud_oci_logging_ingestion_log_entry_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_logging_ingestion_log_entry_tbl FORCE IS TABLE OF (dbms_cloud_oci_logging_ingestion_log_entry_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_LOGGING_INGESTION_LOG_ENTRY_BATCH_T Type
A single batch of Log Entries.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_logging_ingestion_log_entry_batch_t FORCE AUTHID CURRENT_USER IS OBJECT (
entries dbms_cloud_oci_logging_ingestion_log_entry_tbl,
source varchar2(32767),
l_type varchar2(32767),
subject varchar2(32767),
defaultlogentrytime timestamp with time zone,
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_log_entry_batch_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_log_entry_batch_t (
entries dbms_cloud_oci_logging_ingestion_log_entry_tbl,
source varchar2,
l_type varchar2,
subject varchar2,
defaultlogentrytime timestamp with time zone
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(required) List of data entries. |
|
(required) Source of the logs that generated the message. This could be the instance name, hostname, or the source used to read the event. For example, \"ServerA\". |
|
(required) This field signifies the type of logs being ingested. For example: ServerA.requestLogs. |
|
(optional) This optional field is useful for specifying the specific sub-resource or input file used to read the event. For example: \"/var/log/application.log\". |
|
(required) The timestamp for all log entries in this batch. This can be considered as the default timestamp for each entry, unless it is overwritten by the entry time. An RFC3339-formatted date-time string with milliseconds precision. |
DBMS_CLOUD_OCI_LOGGING_INGESTION_LOG_ENTRY_BATCH_TBL Type
Nested table type of dbms_cloud_oci_logging_ingestion_log_entry_batch_t.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_logging_ingestion_log_entry_batch_tbl FORCE IS TABLE OF (dbms_cloud_oci_logging_ingestion_log_entry_batch_t) NOT PERSISTABLE;
DBMS_CLOUD_OCI_LOGGING_INGESTION_PUT_LOGS_DETAILS_T Type
The request body for the PutLogs request.
Syntax
CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_logging_ingestion_put_logs_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
specversion varchar2(32767),
log_entry_batches dbms_cloud_oci_logging_ingestion_log_entry_batch_tbl,
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_put_logs_details_t
RETURN SELF AS RESULT,
CONSTRUCTOR FUNCTION dbms_cloud_oci_logging_ingestion_put_logs_details_t (
specversion varchar2,
log_entry_batches dbms_cloud_oci_logging_ingestion_log_entry_batch_tbl
) RETURN SELF AS RESULT
) NOT PERSISTABLE;
Fields
Field | Description |
---|---|
|
(required) Required for identifying the version of the data format being used. Permitted values include: \"1.0\" |
|
(required) List of log-batches. Each batch has a single source, type and subject. |