GrokClassifier class

A classifier that uses grok patterns.

Constructors

GrokClassifier({required String classification, required String grokPattern, required String name, DateTime? creationTime, String? customPatterns, DateTime? lastUpdated, int? version})
GrokClassifier.fromJson(Map<String, dynamic> json)
factory

Properties

classification String
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
final
creationTime DateTime?
The time that this classifier was registered.
final
customPatterns String?
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
final
grokPattern String
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
final
hashCode int
The hash code for this object.
no setterinherited
lastUpdated DateTime?
The time that this classifier was last updated.
final
name String
The name of the classifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int?
The version of this classifier.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited