Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2803

Implement drop logs based on test of fields and their values

XMLWordPrintable

    • 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

       

              rh-ee-calee Calvin Lee
              rhn-engineering-aconway Alan Conway
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: