Module Values_1.GrokClassifierSource

A classifier that uses grok patterns.

Sourcetype nonrec t = {
  1. name : Values_0.NameString.t option;
    (*

    The name of the classifier.

    *)
  2. classification : Classification.t option;
    (*

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

    *)
  3. creationTime : Values_0.Timestamp.t option;
    (*

    The time that this classifier was registered.

    *)
  4. lastUpdated : Values_0.Timestamp.t option;
    (*

    The time that this classifier was last updated.

    *)
  5. version : Values_0.VersionId.t option;
    (*

    The version of this classifier.

    *)
  6. grokPattern : GrokPattern.t option;
    (*

    The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.

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

    Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.

    *)
}
Sourceval make : ?name:??? -> ?classification:??? -> ?creationTime:??? -> ?lastUpdated:??? -> ?version:??? -> ?grokPattern:??? -> ?customPatterns:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Values_0.VersionId.t | `String of Values_0.NameString.t | `Timestamp of Values_0.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