Module Values.InputLogEventSource

Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

Sourcetype nonrec t = {
  1. timestamp : Timestamp.t;
    (*

    The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

    *)
  2. message : EventMessage.t;
    (*

    The raw event message. Each log event can be no larger than 1 MB.

    *)
}
Sourceval context_ : string
Sourceval make : timestamp:Timestamp.t -> message:EventMessage.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Timestamp.t | `String of EventMessage.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t