Hi Folks
I have a question regarding search for a text in a log file with two conditions.
Below is text from the log file, log file is of 20MB or more so i don't want to paste everything here,
i would like the result to be displayed like below
condition 1: to look for the text /007f02ba4d4a2764/ and after it finds it, second condition is to look for EventReleased which is two lines above the first condition
when both conditions are satisfied, display the result like below
Type
EventReleased
Devices: <31364/31364> <-/7025872510> <-/->
Calls: 17336541/
007f02ba4d4a2764/17336541.691bfd0/c:1/r:8 0/none
Parties:
D31364/31364.8a6c540-691bfd0:1/l:2/r:5/Established,Active,Destination
X7085872510/7085872510.90fb2c0-691bfd0:1/l:1/r:0/Released,Origination
none
thanks in advance.