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 88965200B84 for ; Tue, 6 Sep 2016 08:22:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 874A3160AD1; Tue, 6 Sep 2016 06:22: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 D863D160ABC for ; Tue, 6 Sep 2016 08:22:22 +0200 (CEST) Received: (qmail 31776 invoked by uid 500); 6 Sep 2016 06:22:22 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 31741 invoked by uid 99); 6 Sep 2016 06:22:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2016 06:22:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D831D2C014C for ; Tue, 6 Sep 2016 06:22:21 +0000 (UTC) Date: Tue, 6 Sep 2016 06:22:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-1170) TailFile "File to Tail" property should support Wildcards MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Sep 2016 06:22:23 -0000 [ https://issues.apache.org/jira/browse/NIFI-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15466572#comment-15466572 ] ASF GitHub Bot commented on NIFI-1170: -------------------------------------- Github user pvillard31 commented on the issue: https://github.com/apache/nifi/pull/980 FYI: this is not ready for review. After a talk with @trixpan, I'll put some additional work into it. I'll let you know when I think this is ready to take into account the use case described in the JIRA. > TailFile "File to Tail" property should support Wildcards > --------------------------------------------------------- > > Key: NIFI-1170 > URL: https://issues.apache.org/jira/browse/NIFI-1170 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Affects Versions: 0.4.0 > Reporter: Andre > > Because of challenges around log rotation of high volume syslog and app producers, it is customary to logging platform developers to promote file variables based file names such as DynaFiles (rsyslog), Macros(syslog-ng)as alternatives to getting SIGHUPs being sent to the syslog daemon upon every file rotation. > (To certain extent, used even NiFi's has similar patterns, like for example, when one uses Expression Language to set PutHDFS destination file). > The current TailFile strategy suggests rotation patterns like: > {code} > log_folder/app.log > log_folder/app.log.1 > log_folder/app.log.2 > log_folder/app.log.3 > {code} > It is possible to fool the system to accept wildcards by simply using a strategy like: > {code} > log_folder/test1 > log_folder/server1 > log_folder/server2 > log_folder/server3 > {code} > And configure *Rolling Filename Pattern* to * but it feels like a hack, rather than catering for an ever increasingly prevalent use case (DynaFile/macros/etc). > It would be great if instead, TailFile had the ability to use wildcards on File to Tail property -- This message was sent by Atlassian JIRA (v6.3.4#6332)