<?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: SPLIT json and parse new filed in NIFI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SPLIT-json-and-parse-new-filed-in-NIFI/m-p/396753#M249508</link>
    <description>&lt;P&gt;You can achieve the same with a JOLT shift and this spec:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "*": "&amp;amp;",
    "meHostName": {
        "*;*": {
            "$(0,1)": "case",
            "$(0,2)": "devicename"
        }
    }
}&lt;/LI-CODE&gt;</description>
    <pubDate>Sun, 03 Nov 2024 01:26:27 GMT</pubDate>
    <dc:creator>joseomjr</dc:creator>
    <dc:date>2024-11-03T01:26:27Z</dc:date>
    <item>
      <title>SPLIT json and parse new filed in NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SPLIT-json-and-parse-new-filed-in-NIFI/m-p/393831#M248592</link>
      <description>&lt;P&gt;"result" : "SUCCESS",&lt;BR /&gt;"correlationID" : "X8058296",&lt;BR /&gt;"generationTimestamp" : "1354",&lt;BR /&gt;"meHostName" : "rc01;rik2jc",&lt;BR /&gt;"nccVersion" : "SPS__R1",&lt;/P&gt;
&lt;DIV class="adn ads"&gt;
&lt;DIV class="gs"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="ii gt"&gt;
&lt;DIV class="a3s aiL "&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This is my input in my nifi and i want to do changes in meHostName means i want mehostName to have 1st value like in this case rc01 and after that creating 1 more field with name devicename having second value means rik2jc&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I acheived the 1st part means i configured in UpdateRecord processor&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashi_0-1727079245645.png" style="width: 644px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41836i033CD8E3F385D12A/image-dimensions/644x29?v=v2" width="644" height="29" role="button" title="Ashi_0-1727079245645.png" alt="Ashi_0-1727079245645.png" /&gt;&lt;/span&gt;
&lt;P&gt;for meHostName and it is printing 1st value means it is running fine ,now please help me in acheiving devicename to have 2nd value of&amp;nbsp;meHostName which is&amp;nbsp;rik2jc . i have tried&amp;nbsp;split(/meHostName, ';')[1] but its not working&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WhmR8e"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="ajx"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="gA gt acV"&gt;
&lt;DIV class="gB xu"&gt;
&lt;DIV class="ip iq"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Dec 2024 05:43:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SPLIT-json-and-parse-new-filed-in-NIFI/m-p/393831#M248592</guid>
      <dc:creator>Ashi</dc:creator>
      <dc:date>2024-12-19T05:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT json and parse new filed in NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SPLIT-json-and-parse-new-filed-in-NIFI/m-p/396753#M249508</link>
      <description>&lt;P&gt;You can achieve the same with a JOLT shift and this spec:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "*": "&amp;amp;",
    "meHostName": {
        "*;*": {
            "$(0,1)": "case",
            "$(0,2)": "devicename"
        }
    }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 03 Nov 2024 01:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SPLIT-json-and-parse-new-filed-in-NIFI/m-p/396753#M249508</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2024-11-03T01:26:27Z</dc:date>
    </item>
  </channel>
</rss>

