Number of Users on Windows Server

I am using Telegraf/InfluxDB/Grafana to monitor windows servers via the telegraf windows agent. In Grafana, I would like to display a count of users logged on to each sever. Is this possible to do?

Thanks for any help provided!

It’s probably possible to get that information using WMI. There might not be any ready made Telegraf plugin outputting that. You would have to write it yourself.