LogEntry

class oci.loggingingestion.models.LogEntry(**kwargs)

Bases: object

Contains the log content with the associated timestamp and ID. Each entry should be less than 1 MB size.

Methods

__init__(**kwargs) Initializes a new LogEntry object with values from keyword arguments.

Attributes

data [Required] Gets the data of this LogEntry.
id [Required] Gets the id of this LogEntry.
time Gets the time of this LogEntry.
__init__(**kwargs)

Initializes a new LogEntry object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • data (str) – The value to assign to the data property of this LogEntry.
  • id (str) – The value to assign to the id property of this LogEntry.
  • time (datetime) – The value to assign to the time property of this LogEntry.
data

[Required] Gets the data of this LogEntry. The log entry content.

Returns:The data of this LogEntry.
Return type:str
id

[Required] Gets the id of this LogEntry. UUID uniquely representing this logEntry. This is not an OCID related to any oracle resource.

Returns:The id of this LogEntry.
Return type:str
time

Gets the time of this LogEntry. Optional. The timestamp associated with the log entry. An RFC3339-formatted date-time string. If unspecified, defaults to PutLogsDetails.defaultlogentrytime.

Returns:The time of this LogEntry.
Return type:datetime