Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GrokPatternRegistry to reload saved grok patterns (#5982)
* Use GrokPatternRegistry to reload saved grok patterns Prior to this change, a edit on a grok pattern did not reflect on the used pattern in GrokExtractors This change uses the GrokPatternRegistry which is contains all grok patterns and is connected to the cluster event bus and reloads when a grok pattern is edit. One test needed to be moved since it was testing the grok pattern service which is not used anymore in the GrokExtractor directly. There for the test was moved to the MongoDbGrokPatternServiceTest where it belongs. Fixes #5833
- Loading branch information
Showing
5 changed files
with
159 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.