Mark Lawrence
2003-10-16 16:25:32 UTC
Dear developers,
As the creator of the amavis-stats package I am making a humble request
for all flavors of amavis to standardize on a single log format for
base-level messages.
My reasons for asking this are hopefully quite obvious: A tool which
attempts to generate statistics from a log file cannot easily do a good
job when the formats are not well defined. It also appears that the
formats have a tendency to change with some releases...
There are potentially other minor side effects such as better understood
user reports, easier trouble-shooting across different versions, or the
ability to compare combinations of amavis's and scanners... etc.
I don't think that the actual coding to conform to a standard would be a
huge amount of work, but not something I am qualified for. What I can
offer however is to drive the process to define a format.
I would suggest that the scope of such a project is limited to the basic
detection messages, which tend to contain the same type of information
across flavors.
For example: A single log message conforming to the standard could be
constructed according to the following definition:
- left bracket
- unique process/message id
- right bracket
- one or more spaces
- one of:
- Passed
- INFECTED (<space separated virus names>)
- SPAM (<test causing failure>)
- BANNED (<name/type>)
- Other...
- source address
- ->
- destination address
- further details...
- etc
Messages that don't conform simply have another format specific to the
flavour or log level, but do not include the tokens specified above. Or,
you could potentially go a bit further and specify tags for log level
LOG1, LOG2 or ERROR, or I don't know what.
What I would like is some feedback on if this idea is supported in
general, and if so what peoples thoughts are on what should be defined. If
some form of standard format is implmemented in all versions, then I can
produce a better amavis-stats which can easily be used by everyone.
Regards,
Mark.
--
Mark Lawrence (***@null.net)
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
AMaViS-user mailing list
AMaViS-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
As the creator of the amavis-stats package I am making a humble request
for all flavors of amavis to standardize on a single log format for
base-level messages.
My reasons for asking this are hopefully quite obvious: A tool which
attempts to generate statistics from a log file cannot easily do a good
job when the formats are not well defined. It also appears that the
formats have a tendency to change with some releases...
There are potentially other minor side effects such as better understood
user reports, easier trouble-shooting across different versions, or the
ability to compare combinations of amavis's and scanners... etc.
I don't think that the actual coding to conform to a standard would be a
huge amount of work, but not something I am qualified for. What I can
offer however is to drive the process to define a format.
I would suggest that the scope of such a project is limited to the basic
detection messages, which tend to contain the same type of information
across flavors.
For example: A single log message conforming to the standard could be
constructed according to the following definition:
- left bracket
- unique process/message id
- right bracket
- one or more spaces
- one of:
- Passed
- INFECTED (<space separated virus names>)
- SPAM (<test causing failure>)
- BANNED (<name/type>)
- Other...
- source address
- ->
- destination address
- further details...
- etc
Messages that don't conform simply have another format specific to the
flavour or log level, but do not include the tokens specified above. Or,
you could potentially go a bit further and specify tags for log level
LOG1, LOG2 or ERROR, or I don't know what.
What I would like is some feedback on if this idea is supported in
general, and if so what peoples thoughts are on what should be defined. If
some form of standard format is implmemented in all versions, then I can
produce a better amavis-stats which can easily be used by everyone.
Regards,
Mark.
--
Mark Lawrence (***@null.net)
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
AMaViS-user mailing list
AMaViS-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/