<?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 can get the content of Json record and value of attributes in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382654#M244649</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108893"&gt;@ALWOSABY&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&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>Wed, 24 Jan 2024 08:31:12 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2024-01-24T08:31:12Z</dc:date>
    <item>
      <title>how can get the content of Json record and value of attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382653#M244648</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;we try to fetch the results from database according to the content of cvs file.after converting the csv to json format by SpileRecord&amp;nbsp; then we try to&amp;nbsp; get the content of Json record&amp;nbsp; by&amp;nbsp; EvaluateJsonPath&amp;nbsp; then we&amp;nbsp; try to get value of attribute by&amp;nbsp;&amp;nbsp;UpdateAttribute&amp;nbsp; but the &amp;nbsp;FF_Content&amp;nbsp;attribute into&amp;nbsp;inEvaluateJsonPath not&amp;nbsp;recognized&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;listFile-&amp;gt;FetchFiles-&amp;gt;SpileRecord-&amp;gt;EvaluateJsonPath -&amp;gt;UpdateAttribute -&amp;gt;ExecuteSQL&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled picture3.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39534i8973EAF4FBED6DA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled picture3.png" alt="Untitled picture3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled picture1.png" style="width: 798px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39533iE52A0755E3A59784/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled picture1.png" alt="Untitled picture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled picture4.png" style="width: 799px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39536iB650F7FD0A0515A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled picture4.png" alt="Untitled picture4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 07:26:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382653#M244648</guid>
      <dc:creator>ALWOSABY</dc:creator>
      <dc:date>2024-01-24T07:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: how can get the content of Json record and value of attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382654#M244649</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108893"&gt;@ALWOSABY&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&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>Wed, 24 Jan 2024 08:31:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382654#M244649</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-01-24T08:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: how can get the content of Json record and value of attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382748#M244679</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108893"&gt;@ALWOSABY&lt;/a&gt;, in EvaluateJsonPath, you set EvaluateJsonPath to write the information in the content of the flow file, and not in the attributes. In your next processor, you are using the FF_CONTENT as an attribute and it does not exist ... hence your flow not working as expected.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Do you require the content of the JSON or do you need to generate some new attributes based on the content of the flow file?&lt;BR /&gt;&lt;BR /&gt;If you require the content as well, I would suggest to add a new EvaluateJsonPath after your first one and modify to write the information as attributes and generate your desired attributes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you only require some new attributes, modify the logic in your first EvaluateJsonPath to write the data as attributes and generate your desired attributes, using the Record Path for JSON.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have a look at your first EvaluateJsonPath and make sure that the data is extracted correctly, because it first glance, I am not quite certain it works properly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 09:31:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382748#M244679</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2024-01-26T09:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: how can get the content of Json record and value of attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382749#M244680</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108893"&gt;@ALWOSABY&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;What is the value of the FF_Content? is it the entire JSON record ? if so - as it appears from the specified path - Why not use the EvaluateJsonPath to get whatever values that are&amp;nbsp; needed and store as attributes by setting the Destination property to flowfile-attribute.&lt;/P&gt;&lt;P&gt;See the following post to learn more: &lt;A href="https://community.cloudera.com/t5/Support-Questions/How-to-handle-json-using-EvaluateJsonPath-processor-in-NiFi/m-p/295335" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/How-to-handle-json-using-EvaluateJsonPath-processor-in-NiFi/m-p/295335&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If that helps please &lt;STRONG&gt;accept&lt;/STRONG&gt; solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 09:35:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-can-get-the-content-of-Json-record-and-value-of/m-p/382749#M244680</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-01-26T09:35:16Z</dc:date>
    </item>
  </channel>
</rss>

