Module Values_1.CreateGrokClassifierRequestSource

Specifies a grok classifier for CreateClassifier to create.

Sourcetype nonrec t = {
  1. classification : Classification.t;
    (*

    An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.

    *)
  2. name : Values_0.NameString.t;
    (*

    The name of the new classifier.

    *)
  3. grokPattern : GrokPattern.t;
    (*

    The grok pattern used by this classifier.

    *)
  4. customPatterns : CustomPatterns.t option;
    (*

    Optional custom grok patterns used by this classifier.

    *)
}
Sourceval context_ : string
Sourceval make : ?customPatterns:??? -> classification:Classification.t -> name:Values_0.NameString.t -> grokPattern:GrokPattern.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Classification.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