Elasticsearch data source how to limit fields

I would try to select is as metric - count with grouping for all selected fields, which needs to be in the result + count column will be hidden in the final table. E.g.:

Of course there are edge cases where it may miss some logs, but you should know if it may happen with your data,