how do I grep and print the transactions number that follows the word \'transaction\' in the below lines, for the condition that the time a transaction takes is between 2-3 min