Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-454

DirTailingAdaptor Add option to Filter files.

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Data Collection
    • Labels:
      None

      Description

      I would like to be able to point the DirTailingAdaptor at a directory but only have it tail files matching to a certain pattern.

      So I've made a change that allows the adaptor to recieve an optional filter parameter and use the org.apache.commons.io.filefilter.WildcardFileFilter class to filter out files.
      This allows you to for example point the adaptor at a tomcat log directory and not have it tail catalina.out logs etc.

        Attachments

        1. CHUKWA-454-v0.1.patch
          8 kB
          Gerrit Jansen van Vuuren

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gerritjvv Gerrit Jansen van Vuuren
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: