Hi Guys,
Is it possible to grep only the Request ID 000000000038775
from the string:
19:37:22.429 [Aug-20-2015] INFO BMCREMEDYSD INPUT-ACTION Failed to retrieve Remedy Incident Modification record: 000000000038775 org.apache.axis2.AxisFault: Read timed out - complete
Please help me! Its Urgent!
To answer your question:
grep 000000000038775 file
If you asking to extract just the "Remedy Incident Modification record", something like:
sed -ne 's/^.*Remedy Incident Modification record: \([^ ]*\) .*$/\1/p' file
1 Like
RudiC
3
If it's the only 15-digit-only string:
grep -Eo '[0-9]{15}' file
000000000038775
1 Like
It worked!! thanks a ton!!