<p>I am running JupyterHub (version 0.8.2) on a AWS-managed kubernetes cluster (EKS).</p>

<p>I need to determine a way to get a list of all users. Not just the currently active users. How can I do this? It seems that the admin web UI page only shows a subset of the more recent users.</p>

<p>There must be some way, since JupyterHub saves the state for each user when they return</p>

James Wierzba
<p>I found a kubernetes pod audit logs in the AWS CloudWatch logs. If you simply extract all unique logs that show a Running pod with name "jupyter-{username}", that will give you a comprehensive list of all users.</p>

<p>To enable these logs for EKS you need to enable "Audit" logging in the "Logging" section of the EKS console.</p>

<p>See <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html</a> for more info</p>

<p>Note: this is only useful if you are running your JupyterHub application on AWS-managed kubernetes (EKS)</p>
