hthai

logmon question - how to capture the next and last 10 lines of a found 'text' ?

Discussion created by hthai on Apr 22, 2011

Hi,

 

When the logmon catches the text or phrase that I am looking for, I also want to capture the next 10 lines and the last 10 lines.  I wish the variable has the FROM and TO to let me choose the last 10 lines or the next 10 lines to include in my message.  Can this new feature be added on the next release of logmon?

 

FYI, for now, to complete one of my tasks, I had to define a bunch of variables to capture each line which is really ugly.

 

Thanks,

Hoang

Outcomes