I have an error log that contains the following
timestamp : App id : message content: messageID
timestamp : App id : message content: messageID
timestamp : App id : message content: messageID
timestamp : App id
<xml tagged message>
timestamp : App id : message content: messageID
timestamp : App id : message content: messageID
timestamp : App id : message content: messageID
what I need is the timestamp and xml tagged message of certain messages. When I use grep to find the message all I can think of is ugly hacks involving line numbering to go back up one line to retrieve the timestamp. Any suggestions?
thanx,
bill