<?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: Tailfile with rotate log files in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116402#M30538</link>
    <description>&lt;P&gt;Not sure to understand.&lt;/P&gt;&lt;P&gt;If you do the following test:&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;EM&gt;cat ‘record01’ &amp;gt;&amp;gt; /home/wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;The NiFi Flow Data Provenance is OK. The line ‘record01’ appears.&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;EM&gt;mv /home/wls.log /home/wls.log.01&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;EM&gt;cat ‘record02’ &amp;gt;&amp;gt; /home/wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I believe the parameters should be the following:&lt;/P&gt;&lt;P&gt;File to Tail &lt;STRONG&gt;/home/wls.log&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Rolling Filename Pattern : wls.log.01&lt;/P&gt;&lt;P&gt;Is that what you did?&lt;/P&gt;&lt;P&gt;The observation you made are valid because the processor keeps in its state the position of the last read bytes in the tailed file. This is why if the roll over is not detected by the processor, it won't pick up new data or it will but partially (from the last known position).&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2016 16:17:08 GMT</pubDate>
    <dc:creator>pvillard</dc:creator>
    <dc:date>2016-06-03T16:17:08Z</dc:date>
    <item>
      <title>Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116395#M30531</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've got another problem with the logfiles linux weblogic. I've tested several cases (see below) . And I don't know how ingest new data without stop the processor, cancel the state and restart Nifi agent. &lt;/P&gt;&lt;P&gt;First question : Is there another way to do ?&lt;/P&gt;&lt;P&gt;Second question : Is it possible to script the stop processor and the clear state ? &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The TailFile
processor properties : &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;File to Tail     &lt;STRONG&gt;/home/wls.log&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Rolling Filename Pattern  &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;State File    No
value set&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Initial Start Position  &lt;STRONG&gt;Beginning of File&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;File Location  &lt;STRONG&gt;Local&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Test 1
&lt;/U&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cat ‘record01’ &amp;gt;&amp;gt; wls.log   &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The NiFi Flow Data Provenance is OK.  The line ‘record01’
appears. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;mv wls.log wls.log.01&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cat ‘record02’ &amp;gt;&amp;gt; wls.log   &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The NiFi Flow Data Provenance is KO. The line ‘record02’ doesn’t appear.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The line ‘record02’ recovers only when
I stop the processor TailFile, clear state and restart Nifi.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Test 2&lt;/U&gt;&lt;/STRONG&gt; :&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cat ‘record01’ &amp;gt;&amp;gt; wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The NiFi Flow Data Provenance is OK.  The line ‘record01’
appears. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;cp wls.log wls.log.01&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;rm wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cat ‘record02’ &amp;gt;&amp;gt; wls.log  &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The NiFi Flow Data Provenance is KO. The line ‘record02’ doesn’t appear.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The line ‘record02’ appears only when
I stop the processor TailFile, clear state and restart Nifi.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Test 3&lt;/U&gt;&lt;/STRONG&gt; : &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cat ‘record01’ &amp;gt;&amp;gt; wls.log   &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The NiFi Flow Data Provenance is OK.  The line ‘record01’
appears. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;touch empty.txt&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cp empty.txt wls.log  (inode ws.log doesn’t change)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cat ‘record02’ &amp;gt;&amp;gt; wls.log  &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The NiFi Flow Data Provenance is KO. The line ‘record02’ doesn’t appear.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;The line ‘record02’ appears only when
I stop the processor TailFile, clear state and restart Nifi.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 18:24:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116395#M30531</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-02T18:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116396#M30532</link>
      <description>&lt;P&gt;Can you retry all these tests and during the second cat, instead of "cat 'record02' ", cat something longer like "cat 'record123456789'". I'd like to see if tracking the file size is the issue, because record01 and record02 would be the same file size.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 22:18:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116396#M30532</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-06-02T22:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116397#M30533</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/10685/thierryvernhet.html" nodeid="10685"&gt;@Thierry Vernhet&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I just had a look and I believe this is because the property "Rolling filename pattern" is not set. In such case, the processor does not detect the file has changed and it does not reset its state.&lt;/P&gt;&lt;P&gt;I have raised a JIRA to track this issue to improve things in such a situation: &lt;A href="https://issues.apache.org/jira/browse/NIFI-1959"&gt;https://issues.apache.org/jira/browse/NIFI-1959&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 04:12:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116397#M30533</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-06-03T04:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116398#M30534</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I' gonna test this and give you a feedback. Please could you also have a look to Pierre's answer ? &lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 12:53:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116398#M30534</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-03T12:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116399#M30535</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've tried this in a similar situation (see the question posted &lt;A href="https://community.hortonworks.com/questions/36669/nifi-how-avoid-ingesting-an-old-rolling-file-in-ta.html"&gt;Nifi : How avoid ingesting an old rolling file in TailFileProcessor ?&lt;/A&gt;) &lt;/P&gt;&lt;P&gt;And I've got a problem with the odl rolled file that is always ingested when a new record is written into the new file. But there was a little difference. So I'll test in this situation and give you my feedback.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 12:57:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116399#M30535</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-03T12:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116400#M30536</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;&lt;/A&gt;So with the second echo "record0123456789" &amp;gt;&amp;gt; ...  (I've made a mistake in my original question, it's an echo instead of a cat command)... the results are&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test1&lt;/STRONG&gt; the same&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test2 &lt;/STRONG&gt;the same&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test3 .... not the same result&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;cp empty.txt wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 itve6530 userdsi     0 Jun  3 08:44 wls.log&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;echo "record33333333333xxxx0123456789" &amp;gt;&amp;gt; wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Nifi Flow Data Provenance shows  : 06/03/2016 08:44:24.759
CEST  RECEIVE  389968cd-a1b6-497d-9e0a-c0e93ffe90f6  &lt;STRONG&gt;4 bytes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And the 4 bytes are "789" the last of the echo command which contains 32 bytes ... funny, isn't it ?&lt;/P&gt;&lt;P&gt;So I wrote another different record&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;echo "record33333333333xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0123456789" &amp;gt;&amp;gt; wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Nifi Flow Data Provenance shows  :06/03/2016 08:45:32.218
CEST  RECEIVE  fb6d2013-03ab-4576-989e-02e2bd9981f4  64 bytes with all the &lt;STRONG&gt;64 bytes&lt;/STRONG&gt; of the echo command... in progress !&lt;/P&gt;&lt;P&gt;So I wrote another different record&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;echo "record44" &amp;gt;&amp;gt; wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;OK in Nifi Flow Data Provenance : &lt;/P&gt;&lt;P&gt;06/03/2016 08:57:58.926 CEST RECEIVE e253f961-3a8a-43a2-97b1-25d54526a894 &lt;STRONG&gt;9 bytes&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;echo "record55" &amp;gt;&amp;gt; wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;KO in Nifi Flow Data Provenance (same size  than previous record)&lt;/P&gt;&lt;P&gt;echo "record5566" &amp;gt;&amp;gt; wls.log&lt;/P&gt;&lt;P&gt;OK in Nifi Flow Data Provenance (differnent siez). Now it shows the last and the one before the last.&lt;/P&gt;&lt;P&gt;06/03/2016 08:58:28.013 CEST RECEIVE 3c646f8c-84c8-4353-af66-e7e06fc76560 &lt;STRONG&gt;11 bytes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;06/03/2016
08:58:10.944 CEST  RECEIVE  e158b0ce-a856-44f9-b7cf-4769ce8b0f69  &lt;STRONG&gt;9 bytes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Very interesting ... &lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:05:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116400#M30536</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-03T14:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116401#M30537</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also tested with rolling file pattern property = wls.log and initial start = beggining of file&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test1&lt;/STRONG&gt; the same result&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test2 &lt;/STRONG&gt;the same resut&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test3 .... the same result than without file pattern property (&lt;/STRONG&gt;see my previous comment to Bryan&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Nifi Flow Data Provenance shows : 06/03/2016 08:44:24.759 CEST RECEIVE 389968cd-a1b6-497d-9e0a-c0e93ffe90f6 &lt;STRONG&gt;4 bytes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;But I want to complete my comment.  &lt;/P&gt;&lt;P&gt;The 4 bytes (of the 32) "789" are the differnece beetween the size of wls.log file (before its init with "cp empty.txt wls.log") minus the size of the new record.&lt;/P&gt;&lt;P&gt;So if the size before init of wls.log is 10 MB (for example), the next new records won't be ingested as the new records size will not reach 10 MB.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I think there's a bug... &lt;/P&gt;&lt;P&gt;So do you think it's possible to contact Hortonworks support to improve Nifi product in this case ?&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:08:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116401#M30537</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-03T16:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116402#M30538</link>
      <description>&lt;P&gt;Not sure to understand.&lt;/P&gt;&lt;P&gt;If you do the following test:&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;EM&gt;cat ‘record01’ &amp;gt;&amp;gt; /home/wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;The NiFi Flow Data Provenance is OK. The line ‘record01’ appears.&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;EM&gt;mv /home/wls.log /home/wls.log.01&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;EM&gt;cat ‘record02’ &amp;gt;&amp;gt; /home/wls.log&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I believe the parameters should be the following:&lt;/P&gt;&lt;P&gt;File to Tail &lt;STRONG&gt;/home/wls.log&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Rolling Filename Pattern : wls.log.01&lt;/P&gt;&lt;P&gt;Is that what you did?&lt;/P&gt;&lt;P&gt;The observation you made are valid because the processor keeps in its state the position of the last read bytes in the tailed file. This is why if the roll over is not detected by the processor, it won't pick up new data or it will but partially (from the last known position).&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:17:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116402#M30538</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-06-03T16:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116403#M30539</link>
      <description>&lt;P&gt;No it's not what I did. I'm going to test again with Rolling Filename Pattern : wls.log.*.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 19:35:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116403#M30539</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-03T19:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116404#M30540</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;&lt;/A&gt;Results are the same even with the new pattern "wls.log.*" and also with all the value of "initial start position".&lt;/P&gt;&lt;P&gt;I think there's a problem. &lt;/P&gt;&lt;P&gt;All I want is to receive (tail) the new records that are written in the wls.log file. And also when the log file rotates and keeps the same name "wls.log".&lt;/P&gt;&lt;P&gt;This case seems very simple yet. But I can't achieve it with Nifi. &lt;/P&gt;&lt;P&gt;So I think there's a little bug. Don't you think the same ?  &lt;/P&gt;&lt;P&gt;Please let me know&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 20:03:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116404#M30540</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-03T20:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116405#M30541</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/10685/thierryvernhet.html" nodeid="10685"&gt;@Thierry Vernhet&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I've tried to reproduce the issue but when I set the rolling filename pattern, it works as expected. Here are the steps I did:&lt;/P&gt;&lt;P&gt;echo "test" &amp;gt;&amp;gt; /tmp/test.log&lt;/P&gt;&lt;P&gt;echo "test" &amp;gt;&amp;gt; /tmp/test.log&lt;/P&gt;&lt;P&gt;mv /tmp/test.log /tmp/test.log.01&lt;/P&gt;&lt;P&gt;echo "test" &amp;gt;&amp;gt; /tmp/test.log&lt;/P&gt;&lt;P&gt;With the rolling filename pattern set to test.log.*&lt;/P&gt;&lt;P&gt;The JIRA I raised is regarding the case the property is not set and I submitted a PR for that. But in case the property is not set, at this point I am not able to reproduce the error. Are there specific properties regarding your environment? I could suggest you to turn logging to DEBUG level and check if you have some interesting messages...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 16:27:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116405#M30541</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-06-06T16:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116406#M30542</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which value in your test for property "Initial Start Position" ?&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;&lt;/A&gt;Is the Nifi release important ? We use "0.5.1".&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 20:08:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116406#M30542</guid>
      <dc:creator>thierry_vernhet</dc:creator>
      <dc:date>2016-06-06T20:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tailfile with rotate log files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116407#M30543</link>
      <description>&lt;P&gt;I'm using the same as you: Beginning of file.&lt;/P&gt;&lt;P&gt;I think the version should not matter on this processor: it didn't change since 5 months. However if you are able to try with the PR mentioned above, it may be worth it.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 20:20:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Tailfile-with-rotate-log-files/m-p/116407#M30543</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-06-06T20:20:10Z</dc:date>
    </item>
  </channel>
</rss>

