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
Add the ability to add multiple :filter-expr #1252
Comments
Support for multiple
|
I think it's better to use the already existing :filter-in and :filter-out logic. Hence the answers to the questions.
They must be combined by OR, as happens with other filters
Yes, because the command creates a new filter
Names are not needed, control is from the filters panel and the commands :delete-filter, :disable-filter, :enable-filter, etc. |
If you have multiple filters, you can quickly switch between them. For example, I have several applications that generate logs, I can add several filters :filter-expr :log_procname = 'syslogd' to display them all, or quickly disable filters for those that are not currently interesting. Editing one filter every time you need to add or remove messages from the log is not very fast.
Using :filter-in combinations it is difficult to achieve this effect, because you need to filter a specific field, in my case the process name. That is, if I simply write :filter-in syslogd, then the output will include all messages containing syslogd, and not just those generated by the syslogd process.
The text was updated successfully, but these errors were encountered: