PERL based log analyzer
SourceForge.net Logo
Home Home Contact us Contacts
Overview Documentation Downloads Contacts Links
 
News & Updates
 
July 21, 2008
v 1.0 now available
Quick Links
 
Sourceforge project's page
CeCILL license
CEA web site
Writing the configuration file and using the tags next up previous contents
Next: Comments Up: The syntax of the Previous: About duration definitions   Contents

Writing the configuration file and using the tags

The Kazimir configuration file is organized in sectionis, each of them identified by a tag. Each of the 'tag identified section' will define an object that can be a log to watch, an action or an order, a pattern or an event to look for. Each of these objects have specific aspects that must be clearly defined. For doing this, each tag will be followed by a list of definition looking like $<keyword> = <value>$. The definitions are separated by semicolons. A valid configuration line will be looking like this:

<tag> : <keyword1> = < value1 > ; <keyword2 = value2 > ; ...
An example is always clearer than a long explanation, these are valid configuration lines:
Log   : Name = test_cmd  ; TimeFormat = NONE ; Type = CMND_OUT ; Path = date ; UpdateInt = 4
Order: Name = ordre1 ; Event = event4 ; Action = action1 ;
Action: Name = Action1 ; Path = echo 'Perl programming is not a crime !!' ;
The tag that can be used are:
  • Kazimir:
  • Include:
  • Log:
  • Pattern:
  • Event:
  • Order:
  • Action:
  • Trigger:
  • Repetition:
  • Variable:

I did not tell you about the variable within the Kazimir configuration file. For the moment, you just need to know that a variable is initiated by the tag 'Variable:' . The way to use them will be shown later in this document.

What we will do now is having a look at each of the other tags.



Subsections
next up previous contents
Next: Comments Up: The syntax of the Previous: About duration definitions   Contents
Philippe Deniel 2008-07-22
Designed by CMG Technologies, adapted by Thomas LEIBOVICI
Design downloaded from Free Templates