<?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 Split a flowfile by space character in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Split-a-flowfile-by-space-character/m-p/287861#M213288</link>
    <description>&lt;P&gt;I am wanted to split this txt file into separate flow files at the spaces.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am very new to nifi and regex and am unsure of which processor and properties I will need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;srcip=10.10.10.10 timestamp=152532431 action="denied" logver=12 tz="UTC+0" logid="0000012" dstip=12.12.12.12&lt;/PRE&gt;&lt;P&gt;This snippet is part of a long line that I need to split up at the spaces&lt;/P&gt;&lt;P&gt;So here I would have 6 separate flow files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 14:47:26 GMT</pubDate>
    <dc:creator>JamesE</dc:creator>
    <dc:date>2020-01-17T14:47:26Z</dc:date>
    <item>
      <title>Split a flowfile by space character</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Split-a-flowfile-by-space-character/m-p/287861#M213288</link>
      <description>&lt;P&gt;I am wanted to split this txt file into separate flow files at the spaces.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am very new to nifi and regex and am unsure of which processor and properties I will need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;srcip=10.10.10.10 timestamp=152532431 action="denied" logver=12 tz="UTC+0" logid="0000012" dstip=12.12.12.12&lt;/PRE&gt;&lt;P&gt;This snippet is part of a long line that I need to split up at the spaces&lt;/P&gt;&lt;P&gt;So here I would have 6 separate flow files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 14:47:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Split-a-flowfile-by-space-character/m-p/287861#M213288</guid>
      <dc:creator>JamesE</dc:creator>
      <dc:date>2020-01-17T14:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Split a flowfile by space character</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Split-a-flowfile-by-space-character/m-p/287886#M213302</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73296"&gt;@JamesE&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is easy enough do using the splitContent processor:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-01-17 at 4.33.56 PM.png" style="width: 731px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26078i5C1FE0CD8A20A80B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-01-17 at 4.33.56 PM.png" alt="Screen Shot 2020-01-17 at 4.33.56 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for the "Byte Sequence" property simply hit your spacebar to set a single space.&lt;BR /&gt;&lt;BR /&gt;If you found this answer addressed your question, please take a moment to accept to resolve this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 21:36:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Split-a-flowfile-by-space-character/m-p/287886#M213302</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2020-01-17T21:36:08Z</dc:date>
    </item>
  </channel>
</rss>

