Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2955

Add file path to the header in TaildirSource

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      After using TaildirSource to collect log data, I found that there is no file path in the flume event.
      Though TaildirSource supports add customed header value like this : a1.sources.r1.headers.f1.headerKey1 = value1,
      we can't add file path to the header when the filegroup path contains regex expression.File path is necessary to locate the log data.

      Attachments

        1. FLUME-2955.patch
          10 kB
          tinawenqiao
        2. FLUME-2955_2.patch
          10 kB
          tinawenqiao
        3. FLUME-2955_3.patch
          10 kB
          tinawenqiao
        4. FLUME-2955_4.patch
          10 kB
          tinawenqiao

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wenqiao tinawenqiao
            wenqiao tinawenqiao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment