Module Values_0.StatisticsSource

A map of key-value pairs for all supported statistics. For issues with missing or unexpected values for this API, consult Fleet indexing troubleshooting guide.

Sourcetype nonrec t = {
  1. count : Count.t option;
    (*

    The count of things that match the query string criteria and contain a valid aggregation field value.

    *)
  2. average : Average.t option;
    (*

    The average of the aggregated field values.

    *)
  3. sum : Sum.t option;
    (*

    The sum of the aggregated field values.

    *)
  4. minimum : Minimum.t option;
    (*

    The minimum aggregated field value.

    *)
  5. maximum : Maximum.t option;
    (*

    The maximum aggregated field value.

    *)
  6. sumOfSquares : SumOfSquares.t option;
    (*

    The sum of the squares of the aggregated field values.

    *)
  7. variance : Variance.t option;
    (*

    The variance of the aggregated field values.

    *)
  8. stdDeviation : StdDeviation.t option;
    (*

    The standard deviation of the aggregated field values.

    *)
}
Sourceval make : ?count:??? -> ?average:??? -> ?sum:??? -> ?minimum:??? -> ?maximum:??? -> ?sumOfSquares:??? -> ?variance:??? -> ?stdDeviation:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Average.t | `Integer of Count.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