Module Values.DateTimeRangeSource

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

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

    The starting date and time of a time range.

    *)
  2. to_ : Timestamp.t option;
    (*

    The ending date and time of a time range.

    *)
}
Sourceval make : ?from:??? -> ?to_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Timestamp of Timestamp.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