adding log aggregation helper