<?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: How to add a line of text to a flowfile in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96258#M9713</link>
    <description>&lt;P&gt;We need to make sure to get the terminology correct first. A "FlowFile" in NiFi is the combination of Metadata (A map of key/value pair attribute strings) and the associated content.  Are we asking how to take an Attribute that is part of the FlowFile and add it to the content portion of a FlowFile?  If so, Joe's answer above covers that.  &lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2015 08:13:48 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2015-10-30T08:13:48Z</dc:date>
    <item>
      <title>How to add a line of text to a flowfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96255#M9710</link>
      <description>&lt;P&gt;Is it possible to add a line of text to a flowfile?  Or perhaps convert an attribute to a line in a flowfile?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:34:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96255#M9710</guid>
      <dc:creator>wsalazar</dc:creator>
      <dc:date>2026-04-21T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a line of text to a flowfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96256#M9711</link>
      <description>&lt;P&gt;First, you have to ask, what's a flowfile? It may not even be a file to add to, but just some binary chunk of data, an event, or an encrypted 100GB db dump, anything, really.&lt;/P&gt;&lt;P&gt;Next, where would you want to add the line to? Body/payload? Attribute? Prepend or append? Various processors will be used based on those answers. Sometimes it's easier to invoke ExecuteCommand and run your favorite linux command-line hack, too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, if there's complicated logic on where and how to add the line - consider a custom processor: &lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions"&gt;https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 04:44:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96256#M9711</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2015-10-30T04:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a line of text to a flowfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96257#M9712</link>
      <description>&lt;P&gt;What you're looking for is a patch that was recently merged into master:&lt;A target="_blank" href="https://issues.apache.org/jira/browse/NIFI-447"&gt;https://issues.apache.org/jira/browse/NIFI-447&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It allows the ReplaceText processor to do multiple new things such as prepend or append a property (expression language supported) to either every line or the whole flowfile.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 07:51:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96257#M9712</guid>
      <dc:creator>jpercivall</dc:creator>
      <dc:date>2015-10-30T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a line of text to a flowfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96258#M9713</link>
      <description>&lt;P&gt;We need to make sure to get the terminology correct first. A "FlowFile" in NiFi is the combination of Metadata (A map of key/value pair attribute strings) and the associated content.  Are we asking how to take an Attribute that is part of the FlowFile and add it to the content portion of a FlowFile?  If so, Joe's answer above covers that.  &lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 08:13:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96258#M9713</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2015-10-30T08:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a line of text to a flowfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96259#M9714</link>
      <description>&lt;P&gt;Sorry about not being clear in the description.  I am trying to write a line to the payload of a Flowfile.  The content is simply text that I would like to add a time stamp too.  Prepend or append both work.  &lt;/P&gt;&lt;P&gt;my work around for the moment is to start with a template file that contains place holders for the various content I would like to add.  I use the get file processor to pick up the template file and use the replace text processor to replace the place holders with my data.  It works &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 08:52:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-a-line-of-text-to-a-flowfile/m-p/96259#M9714</guid>
      <dc:creator>wsalazar</dc:creator>
      <dc:date>2015-10-30T08:52:48Z</dc:date>
    </item>
  </channel>
</rss>

