Skip to content

Commit

Permalink
Bind the GrokMatch function so it is available in rules (#26)
Browse files Browse the repository at this point in the history
Fixes #24
(cherry picked from commit 446826c3f2b7cd79760b1a942528884987f6a8a9)
  • Loading branch information
kroepke authored and bernd committed May 11, 2016
1 parent db7185c commit 1ba3c63
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import org.graylog.plugins.pipelineprocessor.functions.strings.Abbreviate;
import org.graylog.plugins.pipelineprocessor.functions.strings.Capitalize;
import org.graylog.plugins.pipelineprocessor.functions.strings.Contains;
import org.graylog.plugins.pipelineprocessor.functions.strings.GrokMatch;
import org.graylog.plugins.pipelineprocessor.functions.strings.Lowercase;
import org.graylog.plugins.pipelineprocessor.functions.strings.RegexMatch;
import org.graylog.plugins.pipelineprocessor.functions.strings.Substring;
Expand Down Expand Up @@ -83,6 +84,7 @@ protected void configure() {

// generic functions
addMessageProcessorFunction(RegexMatch.NAME, RegexMatch.class);
addMessageProcessorFunction(GrokMatch.NAME, GrokMatch.class);

// string functions
addMessageProcessorFunction(Abbreviate.NAME, Abbreviate.class);
Expand Down

0 comments on commit 1ba3c63

Please sign in to comment.