Using an Elastic data source with a field like “identity.username”, Grafana currently does not support displaying a single number in a Stat panel like “Number of Unique Users”. You can get a number of unique users per bucket, but you cannot get a single unique count across all hits in a time range.
There is documentation around this, but that documentation relies on the broken assumption that you can remove the “Group By”, which of course you cannot.
Is there support for counts like this coming in future?