|
NAMEcronosplit - split log files into cronolog-compatible filesSYNOPSIScronosplit --template=TEMPLATE [--print-invalid] [--help] [--version] file ...DESCRIPTIONcronosplit is a simple program that reads lines from a set of input log files, which must be in Common Log Format and write each lines to an output files, the name of which is constructed using the template specified and timestamp from the the line. The template uses the same format specifiers as the Unix date(1) command (which are the same as the standard C strftime library function).Optionsaccepts the following options and arguments:
Template formatEach character in the template represents a character in the expanded filename, except for date and time format specifiers, which are replaced by their expansion. Format specifiers consist of a `%' followed by one of the following characters:
Time fields:
Date fields:
Other specifiers may be available depending on the C library's implementation of the strftime function. SEE ALSOapache(1m) cronolog(1m) date(1) strftime(3) environ(5)More information and the latest version of cronolog and cronosplit can be obtained from http://www.ford-mason.co.uk/resources/cronolog/ If you have any suggestions, bug reports, fixes, or enhancements, please mail them to the author. More about ApacheDocumentation for the Apache http server is available fromhttp://www.apache.org AUTHORAndrew Ford <A.Ford@ford-mason.co.uk>cronosplit is based on a script called splitlog by Roy Fielding, which is part of the wwwstat package.
Visit the GSP FreeBSD Man Page Interface. |