-
Notifications
You must be signed in to change notification settings - Fork 29
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
Property-Based Filters #179
Comments
@Cropi, thanks for your question. Currently, logging role only supports selectors to filter messages. We are adding the property-based filters to the RFE list. |
Thank you :) |
…tputs Adding property-based filter options to files, forwards and remote_files output. A test case is added to tests_basics_files2.yml. In addition, fixing a bug caused by a left over file from the previous tests. Issue - linux-system-roles#179
…tputs Adding property-based filter options to files, forwards and remote_files output. A test case is added to tests_basics_files2.yml. In addition, fixing a bug caused by a left over file from the previous tests. Issue - linux-system-roles#179
…tputs Adding property-based filter options to files, forwards and remote_files output. A test case is added to tests_basics_files2.yml. In addition, fixing a bug caused by a left over file from the previous tests. Issue - #179
@Cropi, could it be possible to review #182 if it satisfies your needs? I've added an example for the property-based filter to https://github.com/linux-system-roles/logging/#standalone-configuration. Please scroll down to the 5th. Thanks. |
Thank you @nhosoi for creating a solution in such a short time. This is what I was looking for. I'm closing this as resolved. |
…tputs Adding property-based filter options to files, forwards and remote_files output. A test case is added to tests_basics_files2.yml. In addition, fixing a bug caused by a left over file from the previous tests. Issue - linux-system-roles#179 (cherry picked from commit 6ac8f9f)
Are the property-based filters supported? If yes, what is the syntax for adding them to a playbook?
In an rsyslog.conf file I would use the following:
:msg, startswith, "somefilter" -/var/log/output.log
Rsyslog doc: https://www.rsyslog.com/doc/v8-stable/configuration/filters.html
The text was updated successfully, but these errors were encountered: