Extract organization statistics

In order to extract organization statistics, the administrator needs to provide :

  • The parsec metadata server location, through a parsec url parsec3://hostname:port

  • The administration_token configured in the parsec metadata server

  • The organization name

parsec-cli organization stats --addr=parsec3://example.com --token=s3cr3t --organization-id=TestOrganization

Example of output:

{
  "active_users": 1,
  "data_size": 18333,
  "metadata_size": 1158,
  "realms": 2,
  "users": 1,
  "users_per_profile_detail": {
    "ADMIN": {
      "active": 1,
      "revoked": 0
    },
    "OUTSIDER": {
      "active": 0,
      "revoked": 0
    },
    "STANDARD": {
      "active": 0,
      "revoked": 0
    }
  }
}