Take the input from output logs

Hi,

If I have loads of logs like below and I am interested to print the requests(lines) which have taken more than 1000 ms. In this case how could I print the two highlighted lines ?

abc.log

reqquest id232342 , adfghfasdfsaf, TIME=30
reqquest id11111 , asdfdfghdffsaf, TIME=54
reqquest id2423423, asdfhdfsaf, TIME=1200
reqquest id2344455 , asdgfhfgsaf, TIME=45
reqquest id54657 , awerweraf, TIME=21
reqquest id333333, asdfasfws, TIME=1110
reqquest id68786 , sdfasdfasaf, TIME=33

Thanks,
Narayana.V

awk -F= '$NF>1000' abc.log
grep "=[1-9][0-9]\{3\}" abc.log

How do you know what is a request line?

Assumption is the line begins with reqquest:

awk -F= '/^reqquest/&&$NF>1000' abc.log

Hello,

1 more approach, may help. Let us say we have check_time_value file which have Input.

awk -vs1=1000 -F"=" '$2 > s1 {print$0}' check_time_value

Otuput will be as follows.

reqquest id2423423, asdfhdfsaf, TIME=1200
reqquest id333333, asdfasfws, TIME=1110

Thanks,
R. Singh