<?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 HTTP JSON parsing (EvaluateJsonpath) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-HTTP-JSON-parsing-EvaluateJsonpath/m-p/371271#M240938</link>
    <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105163"&gt;@JeffTheMilkMan&lt;/a&gt;.&amp;nbsp;While you wait for a more knowledgeable response, I'll provide a link to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-message-read"&gt;&lt;A id="link_2_598f58545c842_0_883e7" class="page-link lia-link-navigation lia-custom-event" href="https://community.cloudera.com/t5/Community-Articles/Parsing-XML-Logs-With-Nifi-Part-1-of-3/ta-p/245771" target="_blank"&gt;Parsing XML Logs With Nifi – Part 1 of 3&lt;/A&gt;&amp;nbsp;in case it can be of assistance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 12:56:59 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2023-05-22T12:56:59Z</dc:date>
    <item>
      <title>NiFi HTTP JSON parsing (EvaluateJsonpath)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-HTTP-JSON-parsing-EvaluateJsonpath/m-p/371218#M240925</link>
      <description>&lt;DIV class="flex flex-grow flex-col gap-3"&gt;&lt;DIV class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap break-words"&gt;&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;I need some help with configuring EvaluateJsonpath because I'm having trouble with it. Everything else seems to be working fine, but I always get stuck at this part. I've tried looking for solutions online, but none of them seem to work or they're just outdated. It's possible that I messed up something in the other function blocks, but they still work if I remove the EvaluateJsonpath. Any ideas?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&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="JeffTheMilkMan_0-1684583849958.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37638iBCE8022AB935A5EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffTheMilkMan_0-1684583849958.png" alt="JeffTheMilkMan_0-1684583849958.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffTheMilkMan_1-1684583877358.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37639i0385EEB5FC85FB3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffTheMilkMan_1-1684583877358.png" alt="JeffTheMilkMan_1-1684583877358.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the json file:&lt;/P&gt;&lt;PRE&gt;{
    "random": 3171504720,
    "als": 29024,
    "mic": 47334,
    "gyro": {
        "x": -26,
        "y": 8,
        "z": 1
    },
    "accel": {
        "x": -1829,
        "y": 447,
        "z": 16802
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 12:01:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-HTTP-JSON-parsing-EvaluateJsonpath/m-p/371218#M240925</guid>
      <dc:creator>JeffTheMilkMan</dc:creator>
      <dc:date>2023-05-20T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi HTTP JSON parsing (EvaluateJsonpath)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-HTTP-JSON-parsing-EvaluateJsonpath/m-p/371271#M240938</link>
      <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105163"&gt;@JeffTheMilkMan&lt;/a&gt;.&amp;nbsp;While you wait for a more knowledgeable response, I'll provide a link to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-message-read"&gt;&lt;A id="link_2_598f58545c842_0_883e7" class="page-link lia-link-navigation lia-custom-event" href="https://community.cloudera.com/t5/Community-Articles/Parsing-XML-Logs-With-Nifi-Part-1-of-3/ta-p/245771" target="_blank"&gt;Parsing XML Logs With Nifi – Part 1 of 3&lt;/A&gt;&amp;nbsp;in case it can be of assistance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:56:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-HTTP-JSON-parsing-EvaluateJsonpath/m-p/371271#M240938</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2023-05-22T12:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi HTTP JSON parsing (EvaluateJsonpath)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-HTTP-JSON-parsing-EvaluateJsonpath/m-p/371306#M240949</link>
      <description>&lt;P&gt;What you are doing is mostly correct.&amp;nbsp; I see a couple of items that may be creating some issues, e.g. mis-assigned values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, you are assigning accel.x to all three attributes values ax, ay, az.&amp;nbsp; But it seems like you probably meant to assign ax = $.accel.x , ay =$.accel.y , az =$.accel.z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems you've mixed up "random" and "rand".&amp;nbsp; The field name in your JSON is "random" so your attribute assignment should be rand = $.random&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is "btn" in your JSON?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 16:07:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-HTTP-JSON-parsing-EvaluateJsonpath/m-p/371306#M240949</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2023-05-22T16:07:48Z</dc:date>
    </item>
  </channel>
</rss>

