Module Values.DataSourceSource

Represents a data source that categorizes logs by originating service and log type, providing service-based organization complementing traditional log groups.

Sourcetype nonrec t = {
  1. name : DataSourceName.t;
    (*

    The name of the data source.

    *)
  2. type_ : DataSourceType.t option;
    (*

    The type of the data source.

    *)
}
Sourceval context_ : string
Sourceval make : ?type_:??? -> name:DataSourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DataSourceName.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