Interface GrokClassifier.Builder

    • Method Detail

      • name

        GrokClassifier.Builder name​(String name)

        The name of the classifier.

        Parameters:
        name - The name of the classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • classification

        GrokClassifier.Builder classification​(String classification)

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

        Parameters:
        classification - An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        GrokClassifier.Builder creationTime​(Instant creationTime)

        The time that this classifier was registered.

        Parameters:
        creationTime - The time that this classifier was registered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdated

        GrokClassifier.Builder lastUpdated​(Instant lastUpdated)

        The time that this classifier was last updated.

        Parameters:
        lastUpdated - The time that this classifier was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        GrokClassifier.Builder version​(Long version)

        The version of this classifier.

        Parameters:
        version - The version of this classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • grokPattern

        GrokClassifier.Builder grokPattern​(String grokPattern)

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

        Parameters:
        grokPattern - The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customPatterns

        GrokClassifier.Builder customPatterns​(String customPatterns)

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

        Parameters:
        customPatterns - Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.