"Fossies" - the Fresh Open Source Software Archive 
Member "squidanalyzer-6.6/etc/squidanalyzer.conf" (7 May 2017, 7492 Bytes) of package /linux/privat/squidanalyzer-6.6.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "squidanalyzer.conf":
6.5_vs_6.6.
1 ####
2 # This file is the default configuration file for SquidAnalyzer
3 # Edit it to match your needs and copy it under /etc/squidanalyzer/squidanalyzer.conf
4 #####
5
6 # Path where SquidAnalyzer should dump all HTML and images files.
7 # Choose a path that can be read by a Web browser
8 Output /var/www/squidanalyzer
9
10 # The URL of the SquidAnalyzer javascript, HTML and images files.
11 WebUrl /squidreport
12
13 # Set the path to the Squid, squidGuard and/or ufdbGuard log files
14 LogFile /var/log/squid3/access.log
15
16 # If you want to use DNS name instead of client Ip address as username enable
17 # this directive. When you don't have authentication, the username is set to
18 # the client ip address, this allow you to use the DNS name instead.
19 # Note that you must have a working DNS resolution and that it can really slow
20 # down the generation of reports.
21 UseClientDNSName 0
22
23 # If you have enabled UseClientDNSName and have lot of ip addresses that do
24 # not resolve you may want to increase the DNS lookup timeout. By default
25 # SquidAnalyzer will stop to lookup a DNS name after 0.0001 second (100 ms).
26 DNSLookupTimeout 0.0001
27
28 # Set the file containing network alias name. Network are
29 # show as Ip addresses so if you want to display name instead
30 # create a file with this format :
31 # LOCATION_NAME IP_NETWORK_ADDRESS
32 # Separator must be a tabulation
33 NetworkAlias /etc/squidanalyzer/network-aliases
34
35 # Set the file containing user alias name. If you don't have auth_proxy
36 # enable user are seen as Ip addresses, or if you want to replace login
37 # name by full user name, create a file with this format :
38 # FULL_USERNAME IP_ADDRESS || LOGIN_NAME
39 # Separator must be a tabulation
40 UserAlias /etc/squidanalyzer/user-aliases
41
42 # How do we sort Network, User and user's Url report screen
43 # Value can be: bytes, hits or duration. Default is bytes.
44 OrderNetwork bytes
45 OrderUser bytes
46 OrderUrl bytes
47
48 # How do we sort Mime types report screen
49 # Value can be: bytes or hits. Default is bytes.
50 OrderMime bytes
51
52 # Should we display user URL details. This will show all URL read
53 # by user. Take care to have enougth space disk for large user.
54 UrlReport 1
55
56 # Enable this directive if you don't want the tree Top URL and Domain HTML tables.
57 # You will just have the table of Url/Domain ordered per hits then you can still
58 # sort the URL/Domain order by clicking on each column
59 UrlHitsOnly 0
60
61 # Should we display user details. This will show statistics per user.
62 UserReport 1
63
64 # Run in quiet mode or print debug information
65 QuietMode 1
66
67 # Cost of the bandwidth per Mb. If you want to generate invoice per Mb
68 # for bandwidth traffic this can help you. Value 0 mean no cost.
69 CostPrice 0
70
71 # Currency of the bandwidth cost
72 Currency €
73
74 # Top number of url to show from all url extracted from the log
75 TopNumber 100
76
77 # Top number of url to preserve on each data file sorted by OrderUrl.
78 # On huge access log it will improve a lot the performances but you
79 # will have less precision in the top url. Default to 0, all url will
80 # be stored.
81 TopStorage 0
82
83 # Path to the file containing client ip addresses, network ip address,
84 # and/or auth login to exclude from report
85 Exclude /etc/squidanalyzer/excluded
86
87 # Path to the file containing client ip addresses, network ip address,
88 # and/or auth login to include into the report. Other entries will be
89 # excluded by default.
90 Include /etc/squidanalyzer/included
91
92 # Translation Lang /etc/squidanalyzer/lang/en_US.txt,
93 # en_US.txt, ru_RU.txt, uk_UA.txt, cs_CZ.txt, pl_PL.txt and de_DE.txt).
94 # Default to:
95 #Lang /etc/squidanalyzer/lang/en_US.txt
96
97 # Date format used to display date (year = %y, month = %m and day = %d)
98 # You can also use %M to replace month by its 3 letters abbreviation.
99 DateFormat %y-%m-%d
100
101 # Set this to 1 if you want to anonymize all user login. The username
102 # will be replaced by an unique id that change at each squid-analyzer
103 # run. Default disable.
104 AnonymizeLogin 0
105
106 # Adds peer cache hit (CD_SIBLING_HIT) to be taken has local cache hit.
107 # Enabled by default, you must disabled it if you don't want to report
108 # peer cache hit onto your stats.
109 SiblingHit 1
110
111 # Set the default unit for transfert size. Default is BYTES, other possible
112 # values are KB, MB and GB
113 TransfertUnit BYTES
114
115 # Minimum percentage of data in pie's graphs to not be placed in the others item.
116 MinPie 2
117
118 # Set this to your locale to display generated date in your language. Default
119 # is to use strftime. If you want date in German for example, set it to de_DE.
120 # For french, fr_FR should do the work.
121 #Locale en_US
122
123 # By default SquidAnalyzer is saving current collected statistics each time
124 # a new hour is found in log file. Most of the time this is enough but if
125 # you have huge log file and don't have enough memory this will slow down the
126 # parser by forcing Perl to use temporaries files. Use lower value following
127 # your memory and the size of your log file, on very huge log file with lot of
128 # requests/seconde a value of 30 minutes (1800) or less should help.
129 WriteDelay 3600
130
131 # Use this directive to show the top N users that look at an URL or a domain.
132 # Set it to 0 to disable this feature.
133 TopUrlUser 10
134
135 # This directive allow you to replace the SquidAnalyze logo by your custom
136 # logo. The default value is defined as follow:
137 # <a href="$self->{WebUrl}">
138 # <img src="$self->{WebUrl}images/logo-squidanalyzer.png" title="SquidAnalyzer $VERSION" border="0">
139 # </a> SquidAnalyzer
140 # Feel free to define your own header but take care to not break current design.
141 #CustomHeader <a href="http://my.isp.dom/"><img src="http://my.isp.dom/logo.png" title="My ISP link" border="0" width="100" height="110"></a> My ISP Company
142
143 # This directive allow exclusion of some unwanted methods in report statistics
144 # like HEAD, POST, CONNECT, etc. Can be a comma separated list of methods.
145 #ExcludedMethods HEAD
146
147 # This directive allow exclusion of some unwanted mimetypes in report statistics
148 # like text/html, text/plain, or more generally text/*, etc. Can be a comma separated
149 # list of perl regular expression.
150 #ExcludedMimes text/.*,image/.*
151
152 # This directive allow exclusion of some unwanted codes in report statistics
153 # like TCP_DENIED/403 which are generated when a user accesses a page the first
154 # time without authentication. Can be a comma separated list of methods.
155 #ExcludedCodes TCP_DENIED/403
156
157 # When SquidAnalyzer find a corrupted line in his data file, it exit immedialtly.
158 # You can force him to wait for a certain amount of errors before exiting. Of
159 # course you might want to remove the corrupted line before the next run. This
160 # can be useful if you have special characters in some fields like mime type.
161 #MaxFormatError 0
162
163 # Set timezone to use when SquidAnalyzer is used in a different server than
164 # the one running squid and there is a different timezone between these two
165 # machine. The value must follow format: +/-HH. Default is to use local time.
166 #TimeZone +01
167
168 # Enable this directive if you want to include port number into Url statistics.
169 # Default is to remove the port information from the Url.
170 #UseUrlPort 0
171
172 # Enable this directive if you want to apply immedialtly the changes made in
173 # aliases files to avoid duplicates. You still have to use --rebuild to
174 # recreate previous reports with new aliases. Enabling this will imply a lost
175 # of performances with huges log files.
176 #UpdateAlias 0
177
178 # The two following configuration directive allow you to specify a start and
179 # stop time. Log line out of this time range will not be parsed.
180 #TimeStart 00:00
181 #TimeStop 23:59
182