-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve performance with else if
#32
Comments
Hint: Filter for a single component, View as big a timeframe as possible and have Kibana show you which messages are the most common (there's a |
But keep in mind that not all Postfix setups are alike and you can only tune for one kind. So don't overdo it. |
The current filters have a lot of
if
checks. But when we look closely we see that most events can only match one filter in a file and not many. So after the first match we can skip testing for more hits. This skipping can be achieved by changingif
intoelse if
.So check all filter files and replace
if
withelse if
where appropriate.The text was updated successfully, but these errors were encountered: