Not by design per se, but yes, this is expected. Because currently the user count is only stored in RAM, not on the disk.
In addition, this shows you the number of users in the last 24 hours, not all-time.
Yes, this information can be extracted from the logs.
Can you recommend something so that I can get the user count in an elegant manner? Is there some tool or script that could help me to get the 1h, 1d, alltime? (Based on my understanding the snowflake proxy services only prints it out every 1h and you can change this to one specific interval.
Since the proxy log file is plain text it’s fairly easy to parse with standard Unix/Linux tools; here’s a mawk script that outputs the daily connection counts and running total:
Script makes use of mawk’s time functions; plain awk doesn’t have those so you would have to improvise by either passing TODAY as a variable or using getline().