Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C950E282 for ; Fri, 21 Dec 2012 20:28:22 +0000 (UTC) Received: (qmail 22850 invoked by uid 500); 21 Dec 2012 20:28:22 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 22684 invoked by uid 500); 21 Dec 2012 20:28:21 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 22675 invoked by uid 99); 21 Dec 2012 20:28:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2012 20:28:21 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.cochran@bsee.gov designates 137.227.28.13 as permitted sender) Received: from [137.227.28.13] (HELO smtp7.doi.gov) (137.227.28.13) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2012 20:28:11 +0000 Received: from smtp6.smgr.doi.gov (10.10.28.12) by smtp7.doi.gov (10.10.28.23) with Microsoft SMTP Server (TLS) id 14.2.328.9; Fri, 21 Dec 2012 15:27:53 -0500 X-AuditID: 0a0a1c0c-b7f796d0000066f8-9a-50d4c645259b Received: from gsmtp6.doi.gov (Unknown_Domain [10.10.28.16]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by smtp6.smgr.doi.gov (Hello) with SMTP id 4F.6C.26360.546C4D05; Fri, 21 Dec 2012 15:27:49 -0500 (EST) Received: from mail-ob0-f198.google.com (209.85.214.198) by gsmtp6.doi.gov (137.227.28.16) with Microsoft SMTP Server (TLS) id 14.2.247.3; Fri, 21 Dec 2012 15:26:47 -0500 Received: by mail-ob0-f198.google.com with SMTP id un3so21364374obb.1 for ; Fri, 21 Dec 2012 12:26:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:date:message-id:subject:from:to :content-type:x-gm-spam:x-gm-message-state; bh=OjNBhcr6NkVosCOQdMIVEegeSkjO9FVikATFwQ9GDx0=; b=Tb54k1LovxWi5Sjev2XESegkrXrUSHdV90nsJxCq/kzd5owfJWKDyCTWdH86gK5I2S z2i8xa1ElWF73wZKIAZ6lCd48G0tl2z4kvrvLT2QwX3KtTIGA8cMwdXuKEqSQtvU1qaH aE/KmXn4ZdKhpmnWQDwU8sYZFNV7s7jqYZu4ihNNWzUNUw0Ly89hDV9uvsLOnLCTgPEO XwlJp318JcOBKRri/2/1/XsVxEbIgWOxxTo7aVOpVDPgkGyUrDhQLV4ZUpNnjVgObeZJ r2gvgFEKv5qemAtOg+O8UwakI8co87V0u4m1IStX0uDA7uoG5Bgu19Rf34fh64Rlwn9+ CcDQ== X-Received: by 10.60.31.84 with SMTP id y20mr244591oeh.91.1356121611198; Fri, 21 Dec 2012 12:26:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.31.84 with SMTP id y20mr244583oeh.91.1356121611007; Fri, 21 Dec 2012 12:26:51 -0800 (PST) Received: by 10.182.214.193 with HTTP; Fri, 21 Dec 2012 12:26:50 -0800 (PST) Date: Fri, 21 Dec 2012 14:26:50 -0600 Message-ID: Subject: post-processing From: "Cochran, David" To: Content-Type: multipart/alternative; boundary="e89a8fb1ee7ae5754b04d162aa42" X-Gm-Spam: 0 X-Gm-Message-State: ALoCoQnzppMKYxrLZrY/V+mUFHRA3sImwYq5nl8BXzy5cRoNCO1j155SznzPlXQLmF/xncoD03YpQ8CyVioMPSJWVcqVp7HCL2yv1JjwBAQPetcqA+x3OpIy0xS1xxAPGG+0HjiPkslbZ+GtVWzgcLbF3bk5ejRlDNyRWwcvBb5IL4bVzJbSwSc0c+W/LwMk/e+xwZOgc+N0e4fTs9RlkHA6YSDV4IpP5w== Received-SPF: Neutral (gSMTP6.doi.gov: 209.85.214.198 is neither permitted nor denied by domain of david.cochran@bsee.gov) X-CFilter-Loop: Reflected X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsXCxfTjja7rsSsBBhfmKFusPzOL2YHR49fv RSwBjFFcNimpOZllqUX6dglcGftPvGErmCZUsX1LN0sD41e+LkZODgkBE4lpLw+yQthiEhfu rWfrYuTiEBLoZJL4vnwtM4SzjlFi26/LUJmJjBKbOp6ygDgSAutZJaYfbIfqL5fY8GwDM4jN KyAocXLmExYQW0ggT2LrnavMELaPxKPdjUwgNouAqsT/m/PZIeoDJF7v72ADsYUFJCQ2/V8G FmcT0JeYNf8x2HwRAWmJ7V+uMoLYzEBz1q3+wgyxl0diytyL7BAH/WCUWHV+IRPEMmWJpesf s0PYNRI3m3YwQTRIShxccYNlAqPoLCS3zkIyF8LWk5hytYURwtaVuPB/ClSNtsSyha+ZFzCy rmIUKs4tKTDTK85NL9JLyc/US88v28QIihYuGZ4djIsfWhxiFOBgVOLhvdh0JUCINbGsuDL3 EKMEB7OSCK//PKAQb0piZVVqUX58UWlOavEhRmkOFiVxXpnm0wFCAumJJanZqakFqUUwWSYO TqkGRuG8NiHr6EKT6ytO987pe5q6XnmhISPTuwOfei8nf8k3antXeNT597Lgvj9LM/wkQm9U 5l+7NlPfd5Jim+HyXMOznxRmb/dYvO+MF9f9UzGtj5YdPpPHeLGsaPG2C1Wq/otmXHzBKXPv wz7TuoK0XxEqS6qE5NlrVose+KCvesiGz4ZnJvdaEyWW4oxEQy3mouJEAGvKq/OSAgAA X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1ee7ae5754b04d162aa42 Content-Type: text/plain; charset="ISO-8859-1" just had a thought... before I turn this script up and make a mess of things I figured I'd ask the group... I'm running FLUME 1.3 running using FILE_ROLL at the sink.... the 'live in use' files are being periodically scanned for key events while still "live' and being appending to by Flume... no problems there as they are just being read.... now the interesting part, I also need to do a little processing of the stored logs (using sed) to insert a couple pieces of data into each line (if it doesn't already exist) before my log scanner process does it's thing. I'm not sure what the odds are of this NOT totally hosing the flume process/data will be...maybe recognizes the file is in use and waits? The files are processed by sed pretty quickly ( ~15 secs) as they are rotated daily. Has anyone else tried this yet or have any insight as to how Flume might react before I attempt to make bit soup? Thanks, -Dave --e89a8fb1ee7ae5754b04d162aa42 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable just had a thought... before I turn this script up and make a mess of thing= s I figured I'd ask the group...

I'm running FLU= ME 1.3 running using FILE_ROLL at the sink.... the 'live in use' fi= les are being periodically scanned for key events while still "live= 9; and being appending to by Flume... no problems there as they are just be= ing read....=A0

now the interesting part, I also need to do a little pr= ocessing of the stored logs (using sed) to insert a couple pieces of data i= nto each line (if it doesn't already exist) before my log scanner proce= ss does it's thing.

I'm not sure what the odds are of this NOT totally = hosing the flume process/data will be...maybe recognizes the file is in use= and waits? The files are processed by sed pretty quickly ( ~15 secs) as th= ey are rotated daily.

Has anyone else tried this yet or have any insight as t= o how Flume might react before I attempt to make bit soup?

Thanks,
-Dave
--e89a8fb1ee7ae5754b04d162aa42--