Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2E78D200B65 for ; Tue, 2 Aug 2016 19:47:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2D59A160A65; Tue, 2 Aug 2016 17:47:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7BAEB160A76 for ; Tue, 2 Aug 2016 19:47:22 +0200 (CEST) Received: (qmail 13561 invoked by uid 500); 2 Aug 2016 17:47:21 -0000 Mailing-List: contact dev-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flume.apache.org Delivered-To: mailing list dev@flume.apache.org Received: (qmail 13282 invoked by uid 99); 2 Aug 2016 17:47:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 17:47:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 719E52C029E for ; Tue, 2 Aug 2016 17:47:21 +0000 (UTC) Date: Tue, 2 Aug 2016 17:47:21 +0000 (UTC) From: "saravanan sathyamoorthy (JIRA)" To: dev@flume.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLUME-2800) Multiline log events for Taildir Source MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 17:47:23 -0000 [ https://issues.apache.org/jira/browse/FLUME-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404459#comment-15404459 ] saravanan sathyamoorthy commented on FLUME-2800: ------------------------------------------------ [~jianjin] were you able to apply the patch? > Multiline log events for Taildir Source > --------------------------------------- > > Key: FLUME-2800 > URL: https://issues.apache.org/jira/browse/FLUME-2800 > Project: Flume > Issue Type: Improvement > Components: Sinks+Sources > Affects Versions: v1.6.0, v1.7.0 > Reporter: David Burgos. Isban (Banco Santander) > Priority: Minor > Attachments: FLUME-2800-2-Flume1.6.patch, FLUME-2800-2.patch, FLUME-2800-Flume1.6.patch, FLUME-2800.patch > > > This a proposal of implementation to handle multiline log messages for new tailing source FLUME-2498. > Based on an idea FLUME-2779 MultiLine Deserializer for Spooling DIrectory Source. > Config. > * multiLineRegex: Regular expression to handle multiline log messages (grok expressions permitted) > * grokDictionaryDir: Custom Grok dictionaries directory > * maxNumberLines: Max number of lines per event in multiline log messages. Default 100. Remaining lines is never transferred to sink. > For Regex expressions use Java regex engine. > Include a functionality for extracting grok expressions into a pure named regex (inspired by the logstash inteceptor) > By default load the included built-in grok dictionaries with pre-defined patterns. > https://github.com/aicer/grok > Attached patch includes a config documentation and unit tests. > Also attached a completed port/patch for Flume 1.6 a Java 1.6 -- This message was sent by Atlassian JIRA (v6.3.4#6332)