Show / Hide Table of Contents

Class LogEntry

Contains the log content with the associated timestamp and ID. Each entry should be less than 1 MB size. Any log data field cannot be more than 10,000 characters. If your data exceeds this limit, the field is truncated during ingestion.

Inheritance
object
LogEntry
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoggingingestionService.Models
Assembly: OCI.DotNetSDK.Loggingingestion.dll
Syntax
public class LogEntry

Properties

Data

Declaration
[Required(ErrorMessage = "Data is required.")]
[JsonProperty(PropertyName = "data")]
public string Data { get; set; }
Property Value
Type Description
string

The log entry content.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

UUID uniquely representing this logEntry. This is not an OCID related to any oracle resource.

Remarks

Required

Time

Declaration
[JsonProperty(PropertyName = "time")]
public DateTime? Time { get; set; }
Property Value
Type Description
DateTime?

Optional. The timestamp associated with the log entry. An RFC3339-formatted date-time string with milliseconds precision. If unspecified, defaults to PutLogsDetails.defaultlogentrytime.

In this article
Back to top