<?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: Extracttext processor multiple record handling in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Extracttext-processor-multiple-record-handling/m-p/317024#M226989</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88760"&gt;@Chakkara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more detail you can provide, the better we may be able to assist.&lt;BR /&gt;&lt;BR /&gt;Are you using custom processors?&amp;nbsp; NiFi does not come with a ReplaceAttribute processor.&lt;BR /&gt;&lt;BR /&gt;I am assuming your flow may actually be using:&lt;BR /&gt;GetFile (deprecated processor in favor of the listFile and FetchFile processors) --&amp;gt; UpdateAttribute --&amp;gt; ExtractText --&amp;gt; RouteOnAttribute --&amp;gt; putSQL&lt;BR /&gt;&lt;BR /&gt;Can you share the configuration you are currently using on the above processors, so we can see what you are doing now?&amp;nbsp; Perhaps you only need a few tweaks to your current design.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 13:24:42 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2021-05-24T13:24:42Z</dc:date>
    <item>
      <title>Extracttext processor multiple record handling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extracttext-processor-multiple-record-handling/m-p/316966#M226967</link>
      <description>&lt;P&gt;I am trying to load data from the below input to db.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My input is as shown below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i, John, $100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ii, Kevin, $150&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;iii, Steve, $200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created getfile, ReplaceAttributes, Extracttext, Route to attributes, putsql flow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to parse fixed width file records and replaced with comma delimited values.&amp;nbsp; ExtractText processor with Enable Multiline Mode=true, Enable DOTALL Mode=true. After execution I see below in provenance event in attributes tab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;line i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;line.0 John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;line.1 $100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise how to load other two records which was not getting displayed in the attributes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 19:05:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extracttext-processor-multiple-record-handling/m-p/316966#M226967</guid>
      <dc:creator>Chakkara</dc:creator>
      <dc:date>2021-05-22T19:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extracttext processor multiple record handling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extracttext-processor-multiple-record-handling/m-p/317024#M226989</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88760"&gt;@Chakkara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more detail you can provide, the better we may be able to assist.&lt;BR /&gt;&lt;BR /&gt;Are you using custom processors?&amp;nbsp; NiFi does not come with a ReplaceAttribute processor.&lt;BR /&gt;&lt;BR /&gt;I am assuming your flow may actually be using:&lt;BR /&gt;GetFile (deprecated processor in favor of the listFile and FetchFile processors) --&amp;gt; UpdateAttribute --&amp;gt; ExtractText --&amp;gt; RouteOnAttribute --&amp;gt; putSQL&lt;BR /&gt;&lt;BR /&gt;Can you share the configuration you are currently using on the above processors, so we can see what you are doing now?&amp;nbsp; Perhaps you only need a few tweaks to your current design.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 13:24:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extracttext-processor-multiple-record-handling/m-p/317024#M226989</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-05-24T13:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extracttext processor multiple record handling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extracttext-processor-multiple-record-handling/m-p/317041#M226995</link>
      <description>&lt;P&gt;Some examples&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/How-Extract-text-from-a-multiline-flow-and-create-only-one/td-p/104706" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/How-Extract-text-from-a-multiline-flow-and-create-only-one/td-p/104706&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nathanlabadie.com/recombining-multiline-logs-with/" target="_blank"&gt;https://nathanlabadie.com/recombining-multiline-logs-with/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/tspannhw/EverythingApacheNiFi/blob/main/README.md" target="_blank"&gt;https://github.com/tspannhw/EverythingApacheNiFi/blob/main/README.md&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 18:56:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extracttext-processor-multiple-record-handling/m-p/317041#M226995</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2021-05-24T18:56:46Z</dc:date>
    </item>
  </channel>
</rss>

