<?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: Nifi UpdateAttribute questions in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110947#M25874</link>
    <description>&lt;P&gt;are you looking to replace the flowfile content with the extracted attribute?  Perhaps AttributesToJSON&lt;/P&gt;&lt;P&gt;If you could mark my answer as correct if that solves the first one it closes out this question!&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2016 06:14:37 GMT</pubDate>
    <dc:creator>cgambino</dc:creator>
    <dc:date>2016-04-22T06:14:37Z</dc:date>
    <item>
      <title>Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110944#M25871</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;How do you pull in a new attribute added by using UpdateAttribute, such as add a new attribute name as 'label' and value as 'source1', to flow file (say file saved to location by PutFile processor)?&lt;/P&gt;&lt;P&gt;Data Provenance showed new attribute with the right value in Attributes tab, but in Content tab Output Claim view does not show the new attribute at all.  Shouldn't it shows there too?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Shannon&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 05:40:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110944#M25871</guid>
      <dc:creator>Luos</dc:creator>
      <dc:date>2016-04-22T05:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110945#M25872</link>
      <description>&lt;P&gt;Hey Shannon,&lt;/P&gt;&lt;P&gt;You would call the new attribute with the expression language so you would type /root/${label}/   the {$VARIABLE} syntax can be used anywhere where expression language is allowed.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 05:41:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110945#M25872</guid>
      <dc:creator>cgambino</dc:creator>
      <dc:date>2016-04-22T05:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110946#M25873</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2213/cgambino.html" nodeid="2213"&gt;@Chris Gambino&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hey Chris, &lt;/P&gt;&lt;P&gt;Thanks for the help!   A follow up question-- what processor would it take to call the new attribute and add to the flowfile before sending to PutFile?  It can't be MergeContent, right?  couldn't find anything like union.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Shannon&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 06:10:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110946#M25873</guid>
      <dc:creator>Luos</dc:creator>
      <dc:date>2016-04-22T06:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110947#M25874</link>
      <description>&lt;P&gt;are you looking to replace the flowfile content with the extracted attribute?  Perhaps AttributesToJSON&lt;/P&gt;&lt;P&gt;If you could mark my answer as correct if that solves the first one it closes out this question!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 06:14:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110947#M25874</guid>
      <dc:creator>cgambino</dc:creator>
      <dc:date>2016-04-22T06:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110948#M25875</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2213/cgambino.html" nodeid="2213"&gt;@Chris Gambino&lt;/A&gt;&lt;P&gt;Hey Chris,&lt;/P&gt;&lt;P&gt;No - not replace, but add the new attribute to original attributes.  &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Shannon&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 06:54:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110948#M25875</guid>
      <dc:creator>Luos</dc:creator>
      <dc:date>2016-04-22T06:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110949#M25876</link>
      <description>&lt;P&gt;Architecturally each mmessage is immutable, changing anything in it means re-writing the flow-file contents.  To add text to a message like that is tough.  Is the message already in JSON format?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:47:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110949#M25876</guid>
      <dc:creator>cgambino</dc:creator>
      <dc:date>2016-04-22T10:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110950#M25877</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2213/cgambino.html" nodeid="2213"&gt;@Chris Gambino&lt;/A&gt;&lt;/P&gt;&lt;P&gt;yes, it is json format already. &lt;/P&gt;&lt;P&gt;update:  parse all to attributes then turn them all back to Json together with new attribute solved it.&lt;/P&gt;&lt;P&gt;Thanks a lot for all your help! &lt;/P&gt;&lt;P&gt;Shannon&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:56:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110950#M25877</guid>
      <dc:creator>Luos</dc:creator>
      <dc:date>2016-04-22T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi UpdateAttribute questions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110951#M25878</link>
      <description>&lt;P&gt;Shannon, try to extract the entire json into an attribute like you do.  Then do "attributesToJson" to push it all inot one flow file perhaps?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 01:51:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-UpdateAttribute-questions/m-p/110951#M25878</guid>
      <dc:creator>cgambino</dc:creator>
      <dc:date>2016-04-23T01:51:21Z</dc:date>
    </item>
  </channel>
</rss>

