|
Rule Syntax |
Top Previous Next |
|
The syntax for a rule is:
// Anything after // is a comment
@RULE: MyFirstRule // name of rule (optional) @COMMENT: this is a test rule // comment (optional) @CONDITION: contains // condition to apply @FIELD: referer // field to test condition on @VAL: donationcoder.com // value to test against field @OPTIONS: caseinsensitive stop // options from (stop | caseinsensitive | not | disabled) @ACTION: write // action to perform on match @ACTIONVAL: dc.log // argument for action (filename, regex replacement) |