Slow aggregation from sharded cluster via profiler

Hi,

How to log aggregation queries from profiler enabled?