- CheckMates
- :
- Products
- :
- General Topics
- :
- Could not parse data according to the current pars...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could not parse data according to the current parsing settings
Hi all!
We've having issues parsing the IP addresses from another vendor's publicly available JSON file into a Network Feed object.
We're running R81.20 on both our Management Server and Security Gateway.
Feed URL: https://status.skyhighsecurity.com/swg/ip_addresses.json
Format: JSON
Data Type: IP Address
JSON query used: .ip
We've tried using different JSON queries to no avail.
Unfortunately the admin guide (External Network Feeds (checkpoint.com)) does not provide working examples as to how one should compile the JSON query.
Any input would be appreciated!
Kind regards,
--
Update!
Solved using: json - jq: Cannot index array with string - Stack Overflow
The JSON query used in the Network Feed was: .[].ip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The query syntax in SmartConsole is that of the jq utility.
You can obtain the list of IPs in this file like so: curl_cli -k https://status.skyhighsecurity.com/swg/ip_addresses.json | jq '.[].ip'