Initial commit: Imported yaala 0.7.3.
[yaala.git] / sample_configs / common_log.conf
1 ##################################################
2 #    yaala 0.6.5 config               2003-05-12 #
3 #---====================-------------------------#
4 # For exact instructions please see the README   #
5 # and the notes above each entry.                #
6 ##################################################
7 # $Id: common_log.conf,v 1.1 2003/08/19 14:20:00 octo Exp $
8
9 input: "/var/log/httpd/access_log";
10
11 # Tells yaala the directory to save the html pages in.
12 # You should manually copy .gif and .css there from html
13 # directory.
14 # Default is 'reports'
15 directory: "/var/www/html/usage/";
16
17 # Here you can choose between the ``new'' Combined-output module and the
18 # Classic-output which emulates 0.4.x behaviour.
19 # Default is to use 'Combined'
20 report: 'Combined';
21
22 # The module used for parsing the logfile(s)
23 # The modules coming with this package are:
24 # - Bind9
25 # - Common
26 # - Ncsa
27 # - Wnserver
28 # - Squid
29 # - Xferlog
30 # - Postfix
31 # Default: 'Common'
32 logtype: 'Common';
33
34 #########################################################################
35 #    Output                                                             #
36 #---========------------------------------------------------------------#
37 # The directive 'select' selects data to be printed in the report.      #
38 # For an explaination please read ``README.selections''                 #
39 #########################################################################
40
41 select: "requests, bytes BY date";
42 select: "requests, bytes BY hour";
43 select: "requests BY file";
44 select: "requests BY host";
45 select: "requests BY status";
46
47 ##################################################
48 #    Filtering                                   #
49 #---===========----------------------------------#
50 # These options adjust filtering data which      #
51 # appear in reports.                             #
52 ##################################################
53
54 # Wether or not yaala shall try to lookup domain names of ip adresses.
55 # Set to 'true' or 'false'. Default is not to.
56 reverse_lookup: 'true';
57
58 # Sets how many subdomains of a host should be displayed. "1" means only
59 # the domain (plus the top-level domain), e.g. "example.com", "2" would be
60 # "subdomain.example.com". Set zero to get the full length of a hostname.
61 # Defaults to "1"
62 host_width: 1;
63
64 # With the classic output module not all combinations of fields appear in
65 # the log and are therefore empty. These empty cells are normally skipped.
66 # If you, for whatever reason, what these cells to be printed, set the
67 # following option to 'false'.
68 #classic_skip_empty: true;
69
70 ##################################################
71 #    HTML                                        #
72 #---======---------------------------------------#
73 # These options affects html files generation,   #
74 # mostly - the HEAD section.                     #
75 ##################################################
76
77 # If u're going to browse html pages from FILES
78 # rather then via http AND on OS with another
79 # default charset, specify charset of your html
80 # pages to put into META http-equiv tag.
81 # With webserver, proper charset SHOULD be passed 
82 # in http header by server.
83 # Default is 'iso-8859-1'.
84 #html_charset: iso-8859-1;
85
86 # URL to css file with style definition for
87 # report pages. Goes linked it from html head.
88 # You may put here an url or path to other css file,
89 # (maybe - site-wide or reports-wide)
90 # default is 'style.css' (should be copied where reports lie)
91 #html_stylesheet: '/default.css';
92 #html_stylesheet: '/yaala-reports/style.css';
93 html_stylesheet: 'style.css';
94
95 # Sets wether or not graphs will be generated. Defaults to generate graphs
96 # if GD::Graph is installed and don't, if it is not.
97 #print-graphs: 'true';
98
99 # The following two options control the size of the graphs generated.
100 # Values are pixels.
101 graph_height: 250;
102 graph_width: 500;