Chukwa
  1. Chukwa
  2. CHUKWA-454

DirTailingAdaptor Add option to Filter files.

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development