
I was looking into foreach command, but that does not allow me to use top/stats. I have the following data: 08 January 2016 09:10:10 website=abc.com, user=user1, message=blahblah1Ġ8 January 2016 09:10:11 website=abc.com, user=user1, message=blahblah2Ġ8 January 2016 09:10:12 website=abc.com, user=user1, message=blahblah2xĠ8 January 2016 09:10:13 website=abc.com, user=user1, message=blahblah2xxxĠ8 January 2016 09:10:14 website=abc.com, user=user1, message=blahblah2xxxĠ8 January 2016 09:10:15 website=abc.com, user=user1, message=blahblah2xxxxxĠ8 January 2016 09:10:16 website=abc.com, user=user2, message=blahblah3xĠ8 January 2016 09:10:17 website=abc.com, user=user2, message=blahblah3xxĠ8 January 2016 09:10:18 website=abc.com, user=user2, message=blahblah3Ġ8 January 2016 09:10:19 website=abc.com, user=user3, message=blahblah4Ġ8 January 2016 09:10:20 website=def.com, user=user1, message=blahblah5Ġ8 January 2016 09:10:21 website=def.com, user=user2, message=blahblah6Ġ8 January 2016 09:10:22 website=def.com, user=user2, message=blahblah7Ġ8 January 2016 09:10:23 website=def.com, user=user2, message=blahblah8Ġ8 January 2016 09:10:24 website=xyz.com, user=user3, message=blahblah9Īnd I want to get the Top 2 websites listing for only Top 2 users per website hence the following table output is what I'm trying to get: Website User I'm trying to get the stats commands to work in chain.
