<?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: Fetch file last one minute ago from the current time using nifi. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226734#M67118</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/14397/regiecanada.html" nodeid="14397" target="_blank"&gt;@regie canada&lt;/A&gt;&lt;P&gt;The processor can do that, just set the Keep Source File property to false and the file will be deleted.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34613-screen-shot-2017-08-31-at-83255-am.png" style="width: 378px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15342i0ED8B1E2CED62AAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="34613-screen-shot-2017-08-31-at-83255-am.png" alt="34613-screen-shot-2017-08-31-at-83255-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 01:25:17 GMT</pubDate>
    <dc:creator>Wynner</dc:creator>
    <dc:date>2019-08-18T01:25:17Z</dc:date>
    <item>
      <title>Fetch file last one minute ago from the current time using nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226730#M67114</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im throwing multiple csv files on my hdfs every minute using logstash.&lt;/P&gt;&lt;P&gt;I need to get the files from the past minute from the current time.&lt;/P&gt;&lt;P&gt;Im using nifi in this process.&lt;/P&gt;&lt;P&gt;For example right now is 11:30 AM, I need to get ONLY all the files that are saved 1 minute ago or 11:29AM.&lt;/P&gt;&lt;P&gt;What is the best approach here using nifi?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:19:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226730#M67114</guid>
      <dc:creator>regie_canada</dc:creator>
      <dc:date>2017-08-23T12:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch file last one minute ago from the current time using nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226731#M67115</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14397/regiecanada.html" nodeid="14397" target="_blank"&gt;@regie canada&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;If you're using the GetHDFS processor, you can set the Minimum File Age and Maximum File age properties to &lt;/P&gt;&lt;P&gt;1 minute.&lt;/P&gt;&lt;P&gt;You might have to adjust the properties for a little range, maybe minimum 59 secs and maximum to 61 secs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34431-screen-shot-2017-08-23-at-52358-pm.png" style="width: 681px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15343iF80D0A267C65CEAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="34431-screen-shot-2017-08-23-at-52358-pm.png" alt="34431-screen-shot-2017-08-23-at-52358-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 01:25:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226731#M67115</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2019-08-18T01:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch file last one minute ago from the current time using nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226732#M67116</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14397/regiecanada.html" nodeid="14397"&gt;@regie canada&lt;/A&gt;&lt;P&gt;Did you try the above solution?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 04:17:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226732#M67116</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-08-31T04:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch file last one minute ago from the current time using nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226733#M67117</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/286/dwynne.html" nodeid="286"&gt;@Wynner&lt;/A&gt;, sorry for the late response. I tried it and its working. Thank you so much! But i need to delete the file so it will just fetch 1 time.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 10:26:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226733#M67117</guid>
      <dc:creator>regie_canada</dc:creator>
      <dc:date>2017-08-31T10:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch file last one minute ago from the current time using nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226734#M67118</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14397/regiecanada.html" nodeid="14397" target="_blank"&gt;@regie canada&lt;/A&gt;&lt;P&gt;The processor can do that, just set the Keep Source File property to false and the file will be deleted.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34613-screen-shot-2017-08-31-at-83255-am.png" style="width: 378px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15342i0ED8B1E2CED62AAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="34613-screen-shot-2017-08-31-at-83255-am.png" alt="34613-screen-shot-2017-08-31-at-83255-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 01:25:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-file-last-one-minute-ago-from-the-current-time-using/m-p/226734#M67118</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2019-08-18T01:25:17Z</dc:date>
    </item>
  </channel>
</rss>

