<?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 to remove ETX character from json value ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357289#M237538</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you are having an issue because you have carriage return (\r\n) in the json , try using regex replace for the following as well: &lt;SPAN class="test-id__field-value slds-form-element__static slds-grow  is-read-only"&gt;[\r\n]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps, if it does please accept solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 16:37:23 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2022-11-09T16:37:23Z</dc:date>
    <item>
      <title>How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357277#M237537</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I could not split a JSON due to a special ETX character existing in a JSON value, SplitJson processor returns an error that it is not a Valid JSON.&lt;/P&gt;&lt;P&gt;The JSON looks like that:&lt;BR /&gt;[ {"key_data":"val_data"},&lt;/P&gt;&lt;P&gt;&amp;nbsp;{"key_data":"val_&lt;STRONG&gt;ETX&lt;/STRONG&gt;data"},&lt;/P&gt;&lt;P&gt;&amp;nbsp;{"key_data":"val_data"},&lt;/P&gt;&lt;P&gt;&amp;nbsp;{"key_data":"val_data"},... ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ghilani_1-1668002267091.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36201i55058CA0BBB98EC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ghilani_1-1668002267091.png" alt="Ghilani_1-1668002267091.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used The next regex expression to replace it but it doesn't work:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-string"&gt;\x03&lt;/SPAN&gt;(?=[^"]*")&lt;/PRE&gt;&lt;DIV&gt;also&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="hljs-string"&gt;[\x03]&lt;/SPAN&gt;(?=[^"]*")&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;can someone show me a trick to remove it please, I would appreciate it.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 14:05:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357277#M237537</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2022-11-09T14:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357289#M237538</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you are having an issue because you have carriage return (\r\n) in the json , try using regex replace for the following as well: &lt;SPAN class="test-id__field-value slds-form-element__static slds-grow  is-read-only"&gt;[\r\n]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps, if it does please accept solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 16:37:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357289#M237538</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-11-09T16:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357290#M237539</link>
      <description>&lt;P&gt;No, it is not the problem, the problem is due to the EXT symbol, \n\r\t\" am filtering them in other processors, Am filtering more than 10000 JSON files the error happens only with 4 files that contain ETX.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 16:42:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357290#M237539</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2022-11-09T16:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357302#M237546</link>
      <description>&lt;P&gt;can you send me a sample json data with the error. The one you posted seems to be valid and Im able to split it .&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 21:09:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357302#M237546</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-11-09T21:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357348#M237560</link>
      <description>&lt;P&gt;share please your email&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 10:22:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357348#M237560</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2022-11-10T10:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357380#M237570</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried the follow pattern on the sent file&amp;nbsp; and it worked: [\x03]+&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="SAMSAL_1-1668097298495.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36211i14D0E7B2746B4459/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_1-1668097298495.png" alt="SAMSAL_1-1668097298495.png" /&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>Thu, 10 Nov 2022 16:23:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357380#M237570</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-11-10T16:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357383#M237571</link>
      <description>&lt;P&gt;I tried both solutions&lt;BR /&gt;I got this error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ghilani_0-1668098136435.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36212i4A474C6AF3ED73C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ghilani_0-1668098136435.png" alt="Ghilani_0-1668098136435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Failed to process session due to null; Processor Administratively Yielded for 1 sec: java.nio.BufferOverflowException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 16:36:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357383#M237571</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2022-11-10T16:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357394#M237575</link>
      <description>&lt;P&gt;can you share the configuration for the ReplaceText Processor? Also how big is the jsonfile?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 19:27:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357394#M237575</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-11-10T19:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357396#M237576</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ghilani_0-1668108638985.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36213i72D559B00D4E803C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ghilani_0-1668108638985.png" alt="Ghilani_0-1668108638985.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;properties are the same as in the picture you have shared.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 19:31:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357396#M237576</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2022-11-10T19:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357400#M237577</link>
      <description>&lt;P&gt;Not sure how big is your Json and if its well formatted into multiple line. Make sure you have the Evaluation Mode is set to Line-by-Line , also you can increase the Maximum Buffer Size incase the text processed is greater than 1MB. Also what version of Nifi are you using ? there seems to be a bug around that as&amp;nbsp; well where the flowfile will remain in the upstream queue and the overflow error is thrown: &lt;A href="https://issues.apache.org/jira/browse/NIFI-10154" target="_self"&gt;https://issues.apache.org/jira/browse/NIFI-10154&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 20:08:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357400#M237577</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-11-10T20:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ETX character from json value ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357401#M237578</link>
      <description>&lt;P&gt;I think everything works fine, the json flowfiles are the response of an invokeHttp request to an API, I receive more than 5000 flowfiles, each flowfile contains 200 records.&lt;BR /&gt;Problems happen only with 4 files that contain the ETX symbol.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 20:17:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-remove-ETX-character-from-json-value/m-p/357401#M237578</guid>
      <dc:creator>Ghilani</dc:creator>
      <dc:date>2022-11-10T20:17:37Z</dc:date>
    </item>
  </channel>
</rss>

