static getParliament (req, res) {
    const query = {
      size: 1000,
      query: {
        bool: {
          must_not: [
            { term: { hide: true } }
          ]
        }
      },
      _source: [
        'ver', 'nodeName', 'currentTime', 'monitoring', 'deltaBytes',
        'deltaPackets', 'deltaMS', 'deltaESDropped', 'deltaDropped',
        'deltaOverloadDropped'
      ]
    };

    Promise.all([
      Db.search('stats', 'stat', query),
      Db.numberOfDocuments('stats')
    ]).then(([stats, total]) => {
      if (stats.error) { throw stats.error; }

      const results = { total: stats.hits.total, results: [] };

      for (const stat of stats.hits.hits) {
        const fields = stat._source || stat.fields;

        if (stat._source) {
          ViewerUtils.mergeUnarray(fields, stat.fields);
        }
        fields.id = stat._id;

        // make sure necessary fields are not undefined
        const keys = ['deltaOverloadDropped', 'monitoring', 'deltaESDropped'];
        for (const key of keys) {
          fields[key] = fields[key] || 0;
        }

        fields.deltaBytesPerSec = Math.floor(fields.deltaBytes * 1000.0 / fields.deltaMS);
        fields.deltaPacketsPerSec = Math.floor(fields.deltaPackets * 1000.0 / fields.deltaMS);
        fields.deltaESDroppedPerSec = Math.floor(fields.deltaESDropped * 1000.0 / fields.deltaMS);
        fields.deltaTotalDroppedPerSec = Math.floor((fields.deltaDropped + fields.deltaOverloadDropped) * 1000.0 / fields.deltaMS);

        results.results.push(fields);
      }

      res.send({
        data: results.results,
        recordsTotal: total.count,
        recordsFiltered: results.total
      });
    }).catch((err) => {
      console.log(`ERROR - ${req.method} /api/parliament`, util.inspect(err, false, 50));
      res.send({ recordsTotal: 0, recordsFiltered: 0, data: [] });
    });
  }
GET - /api/parliament

Returns information all the Arkime clusters configured in your Parliament.
See the parliament definition <a href="https://github.com/arkime/arkime/tree/main/parliament#parliament-definition">here</a> (subject to change).
@name /parliament
@returns {array} data - List of fields that describe the cluster stats.
@returns {number} recordsTotal - The total number of stats.
@returns {number} recordsFiltered - The number of stats returned in this result.