<?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>topic Re: Could not parse data according to the current parsing settings in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Could-not-parse-data-according-to-the-current-parsing-settings/m-p/196841#M33004</link>
    <description>&lt;P&gt;The query syntax in SmartConsole is that of the jq utility.&lt;BR /&gt;You can obtain the list of IPs in this file like so: curl_cli -k &lt;A href="https://status.skyhighsecurity.com/swg/ip_addresses.json" target="_blank"&gt;https://status.skyhighsecurity.com/swg/ip_addresses.json&lt;/A&gt; | jq '.[].ip'&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 20:15:53 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2023-11-01T20:15:53Z</dc:date>
    <item>
      <title>Could not parse data according to the current parsing settings</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Could-not-parse-data-according-to-the-current-parsing-settings/m-p/196807#M33001</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;We've having issues parsing the IP addresses from another vendor's publicly available JSON file into a Network Feed object.&lt;/P&gt;&lt;P&gt;We're running R81.20 on both our Management Server and Security Gateway.&lt;/P&gt;&lt;P&gt;Feed URL:&amp;nbsp;&lt;A href="https://status.skyhighsecurity.com/swg/ip_addresses.json" target="_blank" rel="noopener"&gt;https://status.skyhighsecurity.com/swg/ip_addresses.json&lt;/A&gt;&lt;BR /&gt;Format: JSON&lt;BR /&gt;Data Type: IP Address&lt;BR /&gt;JSON query used: .ip&lt;/P&gt;&lt;P&gt;We've tried using different JSON queries to no avail.&lt;/P&gt;&lt;P&gt;Unfortunately the admin guide (&lt;A href="https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_SecurityManagement_AdminGuide/Content/Topics-SECMG/Network_Feed.htm" target="_blank" rel="noopener"&gt;External Network Feeds (checkpoint.com)&lt;/A&gt;) does not provide working examples as to how one should compile the JSON query.&lt;/P&gt;&lt;P&gt;Any input would be appreciated!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Update!&lt;BR /&gt;&lt;BR /&gt;Solved using:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/34543829/jq-cannot-index-array-with-string" target="_blank"&gt;json - jq: Cannot index array with string - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The JSON query used in the Network Feed was: .[].ip&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 14:31:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Could-not-parse-data-according-to-the-current-parsing-settings/m-p/196807#M33001</guid>
      <dc:creator>T0r_Lak</dc:creator>
      <dc:date>2023-11-01T14:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Could not parse data according to the current parsing settings</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Could-not-parse-data-according-to-the-current-parsing-settings/m-p/196841#M33004</link>
      <description>&lt;P&gt;The query syntax in SmartConsole is that of the jq utility.&lt;BR /&gt;You can obtain the list of IPs in this file like so: curl_cli -k &lt;A href="https://status.skyhighsecurity.com/swg/ip_addresses.json" target="_blank"&gt;https://status.skyhighsecurity.com/swg/ip_addresses.json&lt;/A&gt; | jq '.[].ip'&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 20:15:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Could-not-parse-data-according-to-the-current-parsing-settings/m-p/196841#M33004</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-11-01T20:15:53Z</dc:date>
    </item>
  </channel>
</rss>

