<?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 Apache Nifi: How to get all data csv in folder API with invokeHTTP processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-How-to-get-all-data-csv-in-folder-API-with/m-p/389692#M247045</link>
    <description>&lt;P&gt;Example : I have data in&amp;nbsp;&lt;A href="http://20.30.06.08/files/test/" target="_blank" rel="noopener"&gt;http://20.30.06.08/files/test/&lt;/A&gt;&lt;BR /&gt;and from the API's have a many csv data like :&amp;nbsp;&lt;BR /&gt;Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastmodified&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; size&amp;nbsp;&lt;BR /&gt;test-20240625.csv&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;2024-06-26 08:14&amp;nbsp; &amp;nbsp; &amp;nbsp; 3.9K&lt;BR /&gt;test-20240626.csv&amp;nbsp; &amp;nbsp; 2024-06-27 08:14&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.9K&lt;BR /&gt;test-20240627.csv&amp;nbsp; &amp;nbsp; 2024-06-28 08:14&amp;nbsp; &amp;nbsp; &amp;nbsp; 1.9K&lt;BR /&gt;&lt;BR /&gt;how to get all data csv from folder test, with apache nifi (invokedHTTP processor)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 07:31:09 GMT</pubDate>
    <dc:creator>greenflag</dc:creator>
    <dc:date>2024-06-28T07:31:09Z</dc:date>
    <item>
      <title>Apache Nifi: How to get all data csv in folder API with invokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-How-to-get-all-data-csv-in-folder-API-with/m-p/389692#M247045</link>
      <description>&lt;P&gt;Example : I have data in&amp;nbsp;&lt;A href="http://20.30.06.08/files/test/" target="_blank" rel="noopener"&gt;http://20.30.06.08/files/test/&lt;/A&gt;&lt;BR /&gt;and from the API's have a many csv data like :&amp;nbsp;&lt;BR /&gt;Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastmodified&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; size&amp;nbsp;&lt;BR /&gt;test-20240625.csv&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;2024-06-26 08:14&amp;nbsp; &amp;nbsp; &amp;nbsp; 3.9K&lt;BR /&gt;test-20240626.csv&amp;nbsp; &amp;nbsp; 2024-06-27 08:14&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.9K&lt;BR /&gt;test-20240627.csv&amp;nbsp; &amp;nbsp; 2024-06-28 08:14&amp;nbsp; &amp;nbsp; &amp;nbsp; 1.9K&lt;BR /&gt;&lt;BR /&gt;how to get all data csv from folder test, with apache nifi (invokedHTTP processor)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 07:31:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-How-to-get-all-data-csv-in-folder-API-with/m-p/389692#M247045</guid>
      <dc:creator>greenflag</dc:creator>
      <dc:date>2024-06-28T07:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi: How to get all data csv in folder API with invokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-How-to-get-all-data-csv-in-folder-API-with/m-p/389702#M247050</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111335"&gt;@greenflag&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 06:43:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-How-to-get-all-data-csv-in-folder-API-with/m-p/389702#M247050</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-06-28T06:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi: How to get all data csv in folder API with invokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-How-to-get-all-data-csv-in-folder-API-with/m-p/389796#M247087</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111335"&gt;@greenflag&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not knowing anything about this rest-api endpoint, all I have are questions.&lt;BR /&gt;&lt;BR /&gt;How would you complete this task outside of NiFi?&lt;BR /&gt;How would you accomplish this using curl from command line?&lt;BR /&gt;&lt;BR /&gt;What do the REST-API docs for your endpoint have in terms of how to get files?&amp;nbsp;&lt;BR /&gt;Do they expect you to pass the filename in the rest-api request?&lt;BR /&gt;What is the rest-api endpoint that would return the list of files?&lt;BR /&gt;&lt;BR /&gt;My initial thought here (with making numerous assumptions about your endpoint) is that you would need multiple InvokeHTTP processors possibly.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;The first InvokeHTTP in the dataflow hits the rest-api endpoint that outputs the list of files in the endpoint directory which would end up in the content of the FlowFile.&amp;nbsp; Then you split that FlowFile by its content so you have multiple FlowFiles (1 per each listed file).&amp;nbsp; Then rename each FlowFile using the unique filename and finally pass each to another invokeHTTP processor that actually fetches that specific file.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 13:59:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-How-to-get-all-data-csv-in-folder-API-with/m-p/389796#M247087</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-07-02T13:59:10Z</dc:date>
    </item>
  </channel>
</rss>

