And below is one way to go about doing what you are asking. In this case I am grouping/aggregating by hostname so that might change for what you are doing but hopefully this is a good template to get you started.
And below is one way to go about doing what you are asking. In this case I am grouping/aggregating by hostname so that might change for what you are doing but hopefully this is a good template to get you started.