[Filebeat] system/auth module - Remove redundant grok wildcard#34550
Merged
andrewkroh merged 2 commits intoelastic:mainfrom Feb 16, 2023
Merged
[Filebeat] system/auth module - Remove redundant grok wildcard#34550andrewkroh merged 2 commits intoelastic:mainfrom
andrewkroh merged 2 commits intoelastic:mainfrom
Conversation
Contributor
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Contributor
09d46d0 to
ed8bcfa
Compare
Contributor
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
Member
|
/test |
Member
|
/test |
andrewkroh
approved these changes
Feb 15, 2023
andrewkroh
approved these changes
Feb 15, 2023
Member
andrewkroh
left a comment
There was a problem hiding this comment.
The same change needs to be made to the system integration at
chrisberkhout
pushed a commit
that referenced
this pull request
Jun 1, 2023
The grok pattern of filebeat had a redundant operator in the pattern, %{SPACE}+, resulting in the regex (?:\s*)+ which has the + as a redundant operator.
Co-authored-by: ShourieG <105607378+ShourieG@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
The Grok pattern of filebeat had a redundant operator in the pattern, %{SPACE}+, resulting in the regex (?:\s*)+ which has the + as a redundant operator.
This issue is fixed by removing the redundant + operator.
Why is it important?
"Without this change, when the module's ingest pipelines are setup in Elasticsearch, the Elasticsearch server logs get flooded with warnings" #15900
Checklist
-[ ] I have commented my code, particularly in hard-to-understand areas-[ ] I have made corresponding changes to the documentation-[ ] I have made corresponding change to the default configuration files-[ ] I have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Related issues
#34249, #15840
Closes #34249