21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
+
+
|
<h3>Installation</h3>
# Install chicken scheme from [www.call-cc.org]
# Run the egg install: "chicken-install logpro"
<h3>Command file details</h3>
Your command file is written in scheme but don't let that scare you. Only a handful of single line stanzas are needed to write a rock solid log analyzer. Here is an [example command file] and the [logpro output] from running against this [example log file]
More examples can be seen in the example.logpro file in the source directory [http://www.kiatoa.com/fossils/logpro/doc/tip/example.logpro]
<h3>Syntax</h3>
<verbatim>
( trigger "trigger name" #/trigger pattern/ )
( section "start trigger" "end trigger" )
( expect [in|not-in] "section name" [> or < or =] integer #/regular expression/ )
</verbatim>
|