<?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 - Using EvaluateJsonPath on flowfiles containing multiple records. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/331056#M230810</link>
    <description>&lt;P&gt;Thanks for the reply, is there a way to use Jolt to extract to flowfile attribute?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 11:18:36 GMT</pubDate>
    <dc:creator>Griggsy</dc:creator>
    <dc:date>2021-11-25T11:18:36Z</dc:date>
    <item>
      <title>NiFi - Using EvaluateJsonPath on flowfiles containing multiple records.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/330419#M230669</link>
      <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I have a NiFi data flow that has flowfiles containing multiple json records (with exactly the same received time) and I'm trying to extract the timestamp as a flowfile attribute as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Griggsy_0-1637161822101.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32878iD3EBC8505D61F7F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Griggsy_0-1637161822101.png" alt="Griggsy_0-1637161822101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All the received times match as I'm using a PartitionRecord processor prior to EvaluateJsonPath, I have confirmed they are identical.&lt;/P&gt;&lt;P&gt;I am aware that I can split &amp;gt; extract &amp;gt; merge but I am trying to avoid that due to the high volume of data passing through this flow, is there any way to just extract the first timestamp for all the records in a single flowfile using EvaluateJsonPath? or another record processor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also trying to avoid having to use ExtractText and regex to pull the timestamp, again due to the volume of data in the flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an existing flow working in our production environment using plain/text and regex etc. I am trying to re-design using record processing to improve efficiency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any assistance welcome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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;</description>
      <pubDate>Wed, 17 Nov 2021 16:06:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/330419#M230669</guid>
      <dc:creator>Griggsy</dc:creator>
      <dc:date>2021-11-17T16:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Using EvaluateJsonPath on flowfiles containing multiple records.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/330699#M230729</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Since there is no json structure mentioned in the question , Could you please check the JOLT nifi processor . Refer the jolt specification .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/61697356/extract-first-element-array-with-jolt" target="_blank"&gt;https://stackoverflow.com/questions/61697356/extract-first-element-array-with-jolt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Jolt nifi processor , we can perform many transformations from json file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 09:46:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/330699#M230729</guid>
      <dc:creator>adhishankarit</dc:creator>
      <dc:date>2021-11-22T09:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Using EvaluateJsonPath on flowfiles containing multiple records.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/331056#M230810</link>
      <description>&lt;P&gt;Thanks for the reply, is there a way to use Jolt to extract to flowfile attribute?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 11:18:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/331056#M230810</guid>
      <dc:creator>Griggsy</dc:creator>
      <dc:date>2021-11-25T11:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Using EvaluateJsonPath on flowfiles containing multiple records.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/331539#M230913</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/77674"&gt;@Griggsy&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you can share a source json, it may help with more specific guidance in the community.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 18:05:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Using-EvaluateJsonPath-on-flowfiles-containing-multiple/m-p/331539#M230913</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-12-02T18:05:22Z</dc:date>
    </item>
  </channel>
</rss>

