Grep multi line with keyword ?

Hello Everyone,
i need to grep specific keyword in a file.
i want need solution to output.
example

file.txt

03-08-2019 21:02:20,938 [Docker][SendAWZService]::: Recieve Data From Amazon :::
03-08-2019 21:02:20,938 [Docker][SendAWZService]IP : 192.168.1.1 | msg = Your confirmation code for 'Verify phone number' is xxxxx | sno = null | refNo = 21936651171 | encoding
 = 25 | msgType = H | userHeader = null | validPeriod = null | user = amazonapi | password = amazonapi | sender = AMA | timeStamp = null | isconcat = 1 | msnList = null | msn = 994425363154 | buffe
rTxnID = null | remoteAddr = null
03-08-2019 21:02:20,938 [Docker][AWZUtility]ReformatRefno 
03-08-2019 21:02:20,938 [Docker][AWZUtility]ReformatRefno refno:19080307210220938253
03-08-2019 21:02:20,938 [Docker][ValidateDocker]::: ValidateDocker :::
03-08-2019 21:02:20,938 [Docker][ValidateDocker]Eng Message : false
03-08-2019 21:02:20,938 [Docker][ValidateDocker]No UserHeader
03-08-2019 21:02:20,938 [Docker][ValidateDocker]Message length : 280
03-08-2019 21:02:20,938 [Docker][SendAWZService]API ValidateDocker :: Error Code=0, UNIQ_TXN_ID=771382511781@Pokemon22210220938, ElapsedTime=0 ms.
03-08-2019 21:02:20,938 [Docker][SendAWZService]Validate bean success.
03-08-2019 21:02:20,948 [INFO][SendAWZService]UNIQ_TXN_ID=771382511781@Pokemon22210220938 ElapsedTime detail|reserveQuota=10 ms.|classifyNumber=0 ms.|getCache=0 ms.|validateMsgFormat=0 ms.|validateSen
dSMS=0 ms.|processTime=10 ms.|
03-08-2019 21:02:20,948 [Docker][SendAWZService]SendSMS process complete
03-08-2019 21:02:20,948 [Docker][MessageUtil]Return | Status=0 | TxID=19080307210220938253 | Message=Success
03-08-2019 21:02:20,949 [INFO][SendSMSServlet]Process time : 11 ms.
03-08-2019 21:02:35,067 [Docker][SendSMSServlet]UNIQ_TXN_ID= 10910811781@Pokemon22210235067, HTTP headers:Host=10.94.96.136, Accept-Encoding=gzip;q=1.0,deflate;q=0.6,identity;q=0.3, Accept=*/*, User-Ag
ent=Ruby, Content-Type=application/x-www-form-urlencoded, X-Newrelic-Id=VwMHWFVUGwsIUllTBAE=, X-Newrelic-Transaction=PxQCUFdQXQcCAQIHDwkHU10HFB8EBw8RVU4aVwkJB1cHV1wCVFkLUlEPAUNKQVwLAl1TUA4EFTs=, X-For
warded-For=192.168.1.93, X-Forwarded-Host=192.168.1.2, X-Forwarded-Server=amasmsapi.ama.cn, Connection=Keep-Alive, Content-Length=169, , ElapsedTime=0 ms.
03-08-2019 21:02:35,067 [Docker][SendAWZService]::: Recieve Data From Amazon :::
03-08-2019 21:02:35,067 [Docker][SendAWZService]IP : 192.168.1.1 | msg = Your confirmation code for 'Verify phone number' is xxxxx | sno = null | refNo =  | encoding = 0 | msgType = E | userHeader = null | validPeriod = null 
| user = amazonapi | password = amazonapi | sender = AMA | timeStamp = null | isconcat = 1 | msnList = null | msn = 994425363153 | bufferTxnID = null | remoteAddr = null
03-08-2019 21:02:35,067 [Docker][AWZUtility]ReformatRefno 
03-08-2019 21:02:35,067 [Docker][AWZUtility]ReformatRefno refno:19080307210235067254
03-08-2019 21:02:35,067 [Docker][ValidateDocker]::: ValidateDocker :::
03-08-2019 21:02:35,067 [Docker][ValidateDocker]Eng Message : true
03-08-2019 21:02:35,067 [Docker][ValidateDocker]No UserHeader
03-08-2019 21:02:35,067 [Docker][ValidateDocker]Message length : 36
03-08-2019 21:02:35,067 [Docker][SendAWZService]API ValidateDocker :: Error Code=0, UNIQ_TXN_ID=10910811781@Pokemon22210235067, ElapsedTime=0 ms.
03-08-2019 21:02:35,067 [Docker][SendAWZService]Validate bean success.
03-08-2019 21:02:35,068 [INFO][SendAWZService]UNIQ_TXN_ID=10910811781@Pokemon22210235067 ElapsedTime detail|reserveQuota=0 ms.|classifyNumber=0 ms.|getCache=1 ms.|validateMsgFormat=0 ms.|validateSendS
MS=0 ms.|processTime=1 ms.|
03-08-2019 21:02:35,068 [Docker][SendAWZService]SendSMS process complete
03-08-2019 21:02:35,068 [Docker][MessageUtil]Return | Status=0 | TxID=19080307210235067254 | Message=Success
03-08-2019 21:02:35,068 [INFO][SendSMSServlet]Process time : 1 ms.
03-08-2019 21:02:51,409 [Docker][SendSMSServlet]UNIQ_TXN_ID= 771382711781@Pokemon22210251409, HTTP headers:Host=10.94.96.136, Cache-Control=no-cache, Pragma=no-cache, User-Agent=Java/1.8.0_171, Accept=
text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2, Content-type=application/x-www-form-urlencoded, X-Forwarded-For=192.168.1.30, X-Forwarded-Host=amasmsapi.ama.cn, X-Forwarded-Server=dtacsmsa
pi.dtac.co.th, Connection=Keep-Alive, Content-Length=168, , ElapsedTime=0 ms.



out puts after grep kyword = 994425363154
1st line start from Recieve Data From Amazon
end line : [INFO][SendSMSServlet]Process time

03-08-2019 21:02:20,938 [Docker][SendAWZService]::: Recieve Data From Amazon :::
03-08-2019 21:02:20,938 [Docker][SendAWZService]IP : 192.168.1.1 | msg = Your confirmation code for 'Verify phone number' is xxxxx | sno = null | refNo = 21936651171 | encoding
 = 25 | msgType = H | userHeader = null | validPeriod = null | user = amazonapi | password = amazonapi | sender = AMA | timeStamp = null | isconcat = 1 | msnList = null | msn = 994425363154 | buffe
rTxnID = null | remoteAddr = null
03-08-2019 21:02:20,938 [Docker][AWZUtility]ReformatRefno 
03-08-2019 21:02:20,938 [Docker][AWZUtility]ReformatRefno refno:19080307210220938253
03-08-2019 21:02:20,938 [Docker][ValidateDocker]::: ValidateDocker :::
03-08-2019 21:02:20,938 [Docker][ValidateDocker]Eng Message : false
03-08-2019 21:02:20,938 [Docker][ValidateDocker]No UserHeader
03-08-2019 21:02:20,938 [Docker][ValidateDocker]Message length : 280
03-08-2019 21:02:20,938 [Docker][SendAWZService]API ValidateDocker :: Error Code=0, UNIQ_TXN_ID=771382511781@Pokemon22210220938, ElapsedTime=0 ms.
03-08-2019 21:02:20,938 [Docker][SendAWZService]Validate bean success.
03-08-2019 21:02:20,948 [INFO][SendAWZService]UNIQ_TXN_ID=771382511781@Pokemon22210220938 ElapsedTime detail|reserveQuota=10 ms.|classifyNumber=0 ms.|getCache=0 ms.|validateMsgFormat=0 ms.|validateSen
dSMS=0 ms.|processTime=10 ms.|
03-08-2019 21:02:20,948 [Docker][SendAWZService]SendSMS process complete
03-08-2019 21:02:20,948 [Docker][MessageUtil]Return | Status=0 | TxID=19080307210220938253 | Message=Success
03-08-2019 21:02:20,949 [INFO][SendSMSServlet]Process time : 11 ms.

Please Help me
Thanks in advance,
regards,
Ooil

Not clear. Do you want to print the entire paragraph from Recieve Data From Amazon down to [INFO][SendSMSServlet]Process time IF that specific msn number is within? How do you supply the msn number, in a variable?

Not the slightest attempts / ideas / thoughts from your side?

Note also that if you are looking for the string Recieve Data From Amazon , you might never find it because you have misspelled Receive . Does your input file also contain that misspelling or is it possible that your code can't find the boundaries of the paragraphs you want to copy because the text you are looking for never appears in your actual input?