CB view to display no of all signed up users of all time

Could someone provide code for a view which displays all signed up users of all time. My plan would be to query this view manually daily. And then I can analyze user growth overtime

Or instead of a view a N1QL query would work, too.

You can already access this no by going to this URL: http://IP:4985/_admin/db//users But my node is behind a firewall and I’d need to update the firewall everytime the IP of my local machine changes. If I ssh into my node and execute the command a website is returned. So that does not help either.

Does anyone know how to retrieve this no easily?

Solution:

  • Go to CB web console
  • Views
  • Production Views
  • Principals and click on the blue link. The view is a default view