-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grep filter does not seem to work #213
Comments
Please attach your log example file being used for testing |
|
I could not make the regex match your logs, would you please create the test case here: then share here the permalink |
Ok.. if I want to exclude every row that has the word 'Series' in it how should my 'Exclude' clause be constructed? Because the tool above matches the regex 'Series' (without wildcards) but not the grep filter. Here is the permalink I tried the following
and
None of these filter out the rows with 'Series' in them. Also my input section in the config file looks like this
Can I request the documentation for the 'grep' filter be enhanced to include more examples? |
@edsiper Any thing on this? |
It actually works:
the series.log have the following content:
Your Filter don't have a match rule. |
Ok.. so I found out what the issue was. I was trying to use -o on the command line along with a config file because my command file had an output to Apache pulsar that was not working. So when you specify a -o on the command line it somehow ignores the filter. However, I am still not able to match the following filter
I have also tried
Interestingly... this works from the command line. Here is the rubular permalink. This has the data with which I am testing it. Data I am using to test
|
this config works:
|
Closing as fixed. Above config works. note: if you find any issue, please open a new ticket and refer this one. |
I have included the following in the conf file
The filter does not seem to do anything. It passes everything through. What is the right way to use the grep filter. Does it support standard regex patterns or a specific set of custom regex?
The text was updated successfully, but these errors were encountered: