Skip to content

Instantly share code, notes, and snippets.

@mmguero
Created November 20, 2025 15:56
Show Gist options
  • Select an option

  • Save mmguero/d6aa87e2e6a8db2585ac0b5330986219 to your computer and use it in GitHub Desktop.

Select an option

Save mmguero/d6aa87e2e6a8db2585ac0b5330986219 to your computer and use it in GitHub Desktop.
JSONata for Uptime Kuma to check Malcolm's ready api

This can check the results of the Malcolm ready API with JSONata.

  • sample data:
{"arkime":true,"dashboards":true,"dashboards_maps":true,"filebeat_tcp":true,"freq":true,"logstash_lumberjack":true,"logstash_pipelines":true,"netbox":true,"opensearch":true,"pcap_monitor":true,"zeek_extracted_file_logger":true,"zeek_extracted_file_monitor":true}
  • query:
$sum($map($.*, function($v){ $v ? 1 : 0 })) = $count($.*)
  • output: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment