-
Task
-
Resolution: Done
-
Major
-
None
-
5
-
False
-
None
-
False
-
NEW
-
Administer, API
-
OBSDA-228 - Log filtering and collecting
-
NEW
-
It is now possible to include or exclude log records based on a test of log event fields and values.
-
Enhancement
-
Log Collection - Sprint 248, Log Collection - Sprint 249
Story
As a log admin I want to direct only ERROR records to one output, while sending all log records to another output.
As a log admin I want to include or exclude records based upon fields that meet defined conditions (values).
Acceptance Criteria
- Verify collector only drops log records with a field that matches a value or set of values (e.g. level in: info, debug)
- Verify collector only drops log records with a field that does not match a value or a set of values (e.g. level in: warning, error)
- Verify filters only accept "drop.tests[].field" that contain valid path expressions including [a-ZA-Z0-9._]. Any other path segment outside the characters must be quoted [/-] etc.
- Verify filters only accept "drop.tests[].matches|notMatches" that contain valid regular expression
- Verify CLF provides status when filters are invalid
- Verify upstream repo includes feature documention and updated feature matrix
Notes
- incorporates
-
LOG-3882 Implement Forward or drop of logs with message matching a regular expression
- Closed
- links to
-
RHBA-2024:128809 Logging Subsystem 5.9.0 - Red Hat OpenShift
- mentioned on