static async getAppInfo (req, res) {
    try {
      let esHealth, esHealthError;
      try { // deal with es health errors
        esHealth = await Db.healthCache();
      } catch (err) {
        esHealthError = err.toString();
      }

      // these always returns something and never return an error
      const clusters = await MiscAPIs.#getClusters(); // { active: [], inactive: [] }
      const remoteclusters = MiscAPIs.#remoteClusters(); // {}
      const fieldhistory = UserAPIs.findUserState('fieldHistory', req.user); // {}
      const { data: views } = await View.getViews(req);
      const roles = await User.getRoles();

      // can't fetch user or fields is FATAL, so let it fall through to outer
      // catch and send an error to the client
      const user = await User.getCurrentUser(req);
      const fieldsArr = internals.fieldsArr;
      const fieldsMap = JSON.parse(internals.fieldsMap);
      const userSettingDefaults = internals.settingDefaults;

      return res.send({
        esHealth,
        esHealthError,
        views,
        fieldhistory,
        remoteclusters,
        clusters,
        user,
        fieldsArr,
        fieldsMap,
        roles,
        userSettingDefaults
      });
    } catch (err) {
      console.log('ERROR - /api/appinfo', err);
      return res.serverError(500, err.toString());
    }
  }
GET - /api/appinfo

Retrieves information that the app uses on every page:
eshealth, currentuser, views, remoteclusters, clusters, fields, fieldsmap, fieldshistory
@name /appinfo
@returns {ESHealth} eshealth - The OpenSearch/Elasticsearch cluster health status and information.
@returns {ArkimeUser} currentuser - The currently logged in user
@returns {ArkimeView[]} views - A list of views accessible to the logged in user
@returns {Object} remoteclusters - A list of known remote Arkime clusters
@returns {Array} clusters - A list of known configured Arkime clusters (if in Mulit Viewer mode)
@returns {Array} fields - Available database field objects pertaining to sessions
@returns {Array} fieldsmap - Available database field objects pertaining to sessions
@returns {Object} fieldshistory - The user's field history for the search expression input