In message <[email protected]>,
Paul Sue writes:
>I'm a newbie SEC user.  I have a (Java) application log and some of the
>patterns I need to match on span multiple lines (usually 2 or 3).
>
>How would I do this?

The easiest way is to use a ptype of regexp2 or regexp3. In the man
page it's referenced to as RegExp[<number>].

If the number of lines you have to match is > 10, you will have to
change the --bufsize (IIRC) command line argument.

Also when matching multiple line error messages, you should only have
a SEC process follow one file (as you are doing).

Also this post:

 
http://sourceforge.net/mailarchive/message.php?msg_id=200510101206.j9AC6Srn029641%40mx1.cs.umb.edu

may be helpful.

--
                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to