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

MultiLine Deserializer for Spooling DIrectory Source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • notrack
    • None
    • Sinks+Sources
    • None
    • Patch

    Description

      1. Spool Directory source defaults to LINE, this has issue when multiline log events like stack traces and have request/responses.
      2. Proposal to have log line start regex Key to aggregate all the log lines till the next regex key is found.
      3. As there is aggregation needed based on startKey, maxLineLength is dropped on deserializer and included maxLogLineLength as alternative, this basically truncates the event based on the length and remaining part is never transferred to sink.
      4. logstartregexkey is introduced on Deserializer to include the start regex key.
      5. Patch available with unit tests.

      Attachments

        1. multilineSpool.patch
          22 kB
          Siva Kotipalli

        Activity

          People

            Unassigned Unassigned
            siva.bitsNbytes Siva Kotipalli
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: