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

DirTailingAdaptor Add option to Filter files.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • Data Collection
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: