Skip to content
This repository was archived by the owner on Mar 21, 2023. It is now read-only.

Commit 446826c

Browse files
kroepkejoschi
authored andcommitted
Bind the GrokMatch function so it is available in rules (#26)
Fixes #24
1 parent 808856c commit 446826c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/graylog/plugins/pipelineprocessor/functions/ProcessorFunctionsModule.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
import org.graylog.plugins.pipelineprocessor.functions.strings.Abbreviate;
5151
import org.graylog.plugins.pipelineprocessor.functions.strings.Capitalize;
5252
import org.graylog.plugins.pipelineprocessor.functions.strings.Contains;
53+
import org.graylog.plugins.pipelineprocessor.functions.strings.GrokMatch;
5354
import org.graylog.plugins.pipelineprocessor.functions.strings.Lowercase;
5455
import org.graylog.plugins.pipelineprocessor.functions.strings.RegexMatch;
5556
import org.graylog.plugins.pipelineprocessor.functions.strings.Substring;
@@ -83,6 +84,7 @@ protected void configure() {
8384

8485
// generic functions
8586
addMessageProcessorFunction(RegexMatch.NAME, RegexMatch.class);
87+
addMessageProcessorFunction(GrokMatch.NAME, GrokMatch.class);
8688

8789
// string functions
8890
addMessageProcessorFunction(Abbreviate.NAME, Abbreviate.class);

0 commit comments

Comments
 (0)