<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NiFi with rolloing file pattern in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199645#M161678</link>
    <description>&lt;P&gt;Thanks a lot .... it worked exactly as I wanted .... thanks again ... one more thing any link or resource where I can get this kind of information or setup details .....&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2017 15:59:31 GMT</pubDate>
    <dc:creator>Biswajit16</dc:creator>
    <dc:date>2017-09-25T15:59:31Z</dc:date>
    <item>
      <title>NiFi with rolloing file pattern</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199642#M161675</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;My rolling log file pattern is something like this &lt;/P&gt;&lt;P&gt;&lt;CODE&gt;/my/path/directory/my-app-2017-09-06.log&lt;BR /&gt;
	        	/my/path/directory/my-app-2017-09-07.log&lt;BR /&gt;
	        	/my/path/directory/my-app-2017-09-08.log&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Can you one suggest what can set for property in NIFI for a tailFile processor to read out those. Please note I have old file also and some different file also , but I want to read file wit this specific file name and today onward only , not the old file.   &lt;/P&gt;&lt;P&gt;I read the doc available for NiFi in website , but not clear me ... &lt;/P&gt;&lt;P&gt;Can any one please help me out to configure tailFile with this file pattern. &lt;/P&gt;&lt;P&gt;Any help will be highly appreciated actually I stuck on this issue for last 5 days  ....&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2017 00:15:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199642#M161675</guid>
      <dc:creator>Biswajit16</dc:creator>
      <dc:date>2017-09-24T00:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi with rolloing file pattern</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199643#M161676</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11492/biswajit2015in.html" nodeid="11492"&gt;@Biswajit Chakraborty&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;You will use "Rolling filename Pattern" property which in your case can be set to "my-app-*.log. Another thing in your use case you will do is to specify "filesToTail" property. Use expression language to specify your files to tail.&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#dates" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#dates&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2017 01:41:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199643#M161676</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-09-24T01:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi with rolloing file pattern</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199644#M161677</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/users/11492/biswajit2015in.html" rel="nofollow noopener noreferrer" target="_blank"&gt;@Biswajit Chakrabort&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;As you are having rolling logs for daily, i tried to TailFile processor by using &lt;STRONG&gt;File(s) to Tail&lt;/STRONG&gt; property as follows&lt;/P&gt;&lt;PRE&gt;/my/path/directory/my-app-${now():format("yyyy-MM-dd")}.log &lt;/PRE&gt;The above expression looks for&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;my-app-2017-09-24.log&lt;/STRONG&gt; file in /my/path/directory and tails the file if the file is presented in that directory.&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40495-taillogfile.png" style="width: 791px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17626i51E4D276B0A99E8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40495-taillogfile.png" alt="40495-taillogfile.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 05:52:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199644#M161677</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T05:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi with rolloing file pattern</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199645#M161678</link>
      <description>&lt;P&gt;Thanks a lot .... it worked exactly as I wanted .... thanks again ... one more thing any link or resource where I can get this kind of information or setup details .....&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 15:59:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/199645#M161678</guid>
      <dc:creator>Biswajit16</dc:creator>
      <dc:date>2017-09-25T15:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi with rolloing file pattern</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/302955#M221320</link>
      <description>I believe this will fail if you stop your job today and run it tomorrow.. now will change to other day and you will miss the data...</description>
      <pubDate>Wed, 16 Sep 2020 22:27:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-with-rolloing-file-pattern/m-p/302955#M221320</guid>
      <dc:creator>reyaan26</dc:creator>
      <dc:date>2020-09-16T22:27:00Z</dc:date>
    </item>
  </channel>
</rss>

