You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
When invalid regex is specified with Grok command, it raises raw error from Pattern.compile, but it should raise better error.
How can one reproduce the bug?
Steps to reproduce the behavior:
query: source=src | grok message 'updateStatus: updateStatus)'
error: java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 26
What is the expected behavior?
It should raise error something like: `Invalid pattern specified to grok command: Unmatched closing ')' near index 26``
What is your host/environment?
Checked behavior with testSuite
Do you have any screenshots?
n/a
Do you have any additional context?
Check other command which use regex and fix in the same way.
The text was updated successfully, but these errors were encountered:
What is the bug?
When invalid regex is specified with Grok command, it raises raw error from Pattern.compile, but it should raise better error.
How can one reproduce the bug?
Steps to reproduce the behavior:
query:
source=src | grok message 'updateStatus: updateStatus)'
error:
java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 26
What is the expected behavior?
It should raise error something like: `Invalid pattern specified to grok command: Unmatched closing ')' near index 26``
What is your host/environment?
Checked behavior with testSuite
Do you have any screenshots?
n/a
Do you have any additional context?
Check other command which use regex and fix in the same way.
The text was updated successfully, but these errors were encountered: