Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data GrokClassifier = GrokClassifier' {
- creationTime :: Maybe POSIX
- lastUpdated :: Maybe POSIX
- version :: Maybe Integer
- customPatterns :: Maybe Text
- name :: Text
- classification :: Text
- grokPattern :: Text
- newGrokClassifier :: Text -> Text -> Text -> GrokClassifier
- grokClassifier_creationTime :: Lens' GrokClassifier (Maybe UTCTime)
- grokClassifier_lastUpdated :: Lens' GrokClassifier (Maybe UTCTime)
- grokClassifier_version :: Lens' GrokClassifier (Maybe Integer)
- grokClassifier_customPatterns :: Lens' GrokClassifier (Maybe Text)
- grokClassifier_name :: Lens' GrokClassifier Text
- grokClassifier_classification :: Lens' GrokClassifier Text
- grokClassifier_grokPattern :: Lens' GrokClassifier Text
Documentation
data GrokClassifier Source #
A classifier that uses grok
patterns.
See: newGrokClassifier
smart constructor.
GrokClassifier' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> GrokClassifier |
Create a value of GrokClassifier
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:GrokClassifier'
, grokClassifier_creationTime
- The time that this classifier was registered.
$sel:lastUpdated:GrokClassifier'
, grokClassifier_lastUpdated
- The time that this classifier was last updated.
$sel:version:GrokClassifier'
, grokClassifier_version
- The version of this classifier.
$sel:customPatterns:GrokClassifier'
, grokClassifier_customPatterns
- Optional custom grok patterns defined by this classifier. For more
information, see custom patterns in
Writing Custom Classifiers.
$sel:name:GrokClassifier'
, grokClassifier_name
- The name of the classifier.
$sel:classification:GrokClassifier'
, grokClassifier_classification
- An identifier of the data format that the classifier matches, such as
Twitter, JSON, Omniture logs, and so on.
$sel:grokPattern:GrokClassifier'
, grokClassifier_grokPattern
- The grok pattern applied to a data store by this classifier. For more
information, see built-in patterns in
Writing Custom Classifiers.
grokClassifier_creationTime :: Lens' GrokClassifier (Maybe UTCTime) Source #
The time that this classifier was registered.
grokClassifier_lastUpdated :: Lens' GrokClassifier (Maybe UTCTime) Source #
The time that this classifier was last updated.
grokClassifier_version :: Lens' GrokClassifier (Maybe Integer) Source #
The version of this classifier.
grokClassifier_customPatterns :: Lens' GrokClassifier (Maybe Text) Source #
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
grokClassifier_name :: Lens' GrokClassifier Text Source #
The name of the classifier.
grokClassifier_classification :: Lens' GrokClassifier Text Source #
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
grokClassifier_grokPattern :: Lens' GrokClassifier Text Source #
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.