admin can filter log by timeTaken #2271

for #2271 
Write some test cases for this