forked from allinurl/goaccess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoaccess.conf
261 lines (223 loc) · 6.24 KB
/
goaccess.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
######################################
# Format Options
######################################
# The date_format variable followed by a space, specifies
# the log format date containing any combination of regular
# characters and special format specifiers. They all begin with a
# percentage (%) sign. See `man strftime`
#
#Any Apache log date format
#date-format %d/%b/%Y
#
#W3C (IIS) & AWS | Amazon CloudFront (Download Distribution)
#date-format %Y-%m-%d
# The log_format variable followed by a space or \t for
# tab-delimited, specifies the log format string.
#
#Common Log Format (CLF)
#log-format %h %^[%d:%^] "%r" %s %b
#
#Common Log Format (CLF) with Virtual Host
#log-format %^:%^ %h %^[%d:%^] "%r" %s %b
#
#NCSA Combined Log Format
#log-format %h %^[%d:%^] "%r" %s %b "%R" "%u"
#
#NCSA Combined Log Format with Virtual Host
#log-format %^:%^ %h %^[%d:%^] "%r" %s %b "%R" "%u"
#
#W3C
#log-format %d %^ %h %^ %^ %^ %^ %r %^ %s %b %^ %^ %u %R
#
#AWS | Amazon CloudFront (Download Distribution)
#log-format %d\t%^\t%^\t%b\t%h\t%m\t%^\t%r\t%s\t%R\t%u\t%^
######################################
# UI Options
######################################
# Prompt log/date configuration window on program start.
#
config-dialog false
# Choose among color schemes
# 1 : Default grey scheme
# 2 : Green scheme
#
color-scheme 1
# Turn off colored output. This is the default output on
# terminals that do not support colors.
# true : for no color output
# false : use color-scheme
#
no-color false
######################################
# File Options
######################################
# Specify the path to the input log file. If set, it will take
# priority over -f from the command line.
#
#log-file /var/log/apache2/access.log
# Send all debug messages to the specified file. Needs to configured
# with --enable-debug
#
#debug-file debug.log
# Specify a custom configuration file to use. If set, it will take
# priority over the global configuration file (if any).
#
#config-file=<filename>
# Do not load the global configuration file.
#
#no-global-config false
######################################
# Parse Options
######################################
# Consider the following extensions as static files
# The actual '.' is required and extensions are case sensitive
#
static-file .css
static-file .CSS
static-file .dae
static-file .DAE
static-file .eot
static-file .EOT
static-file .gif
static-file .GIF
static-file .ico
static-file .ICO
static-file .jpeg
static-file .JPEG
static-file .jpg
static-file .JPG
static-file .js
static-file .JS
static-file .map
static-file .MAP
static-file .mp3
static-file .MP3
static-file .pdf
static-file .PDF
static-file .png
static-file .PNG
static-file .svg
static-file .SVG
static-file .swf
static-file .SWF
static-file .ttf
static-file .TTF
static-file .txt
static-file .TXT
static-file .woff
static-file .WOFF
# Exclude an IP from being counted.
#
#exclude-ip 127.0.0.1
# Enable a list of user-agents by host. For faster parsing, do not
# enable this flag.
#
agent-list false
# Include HTTP request method if found. This will create a
# request key containing the request method + the actual request.
#
http-method true
# Include HTTP request protocol if found. This will create a
# request key containing the request protocol + the actual request.
#
http-protocol true
# Ignore request's query string.
# i.e., www.google.com/page.htm?query => www.google.com/page.htm
#
no-query-string false
# Disable IP resolver on terminal output.
#
no-term-resolver false
# Write output to stdout given one of the following formats:
# csv : A comma-separated values (CSV)
# json : JSON (JavaScript Object Notation)
#
#output-format json
# Display real OS names. e.g, Windows XP, Snow Leopard.
#
real-os true
# Disable progress metrics.
#
no-progress false
# Enable mouse support on main dashboard.
#
with-mouse false
# Enable IP resolver on HTML|JSON output.
#
with-output-resolver false
######################################
# GeoIP Options
# Only if configured with --enable-geoip
######################################
# Standard GeoIP database for less memory usage.
#
#std-geoip false
# Specify path to GeoIP City database file. i.e., GeoLiteCity.dat
# GeoLiteCity.dat needs to be downloaded from maxmind.com.
#
# wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
# gunzip GeoLiteCity.dat.gz
#
#geoip-city-data /usr/local/share/GeoIP/GeoLiteCity.dat
######################################
# Tokyo Cabinet Options
# Only if configured with --enable-tcb=btree
######################################
# On-disk B+ Tree
# Persist parsed data into disk. This should be set to
# the first dataset prior to use `load-from-disk`.
# Setting it to false will delete all database files
# when exiting the program.
#keep-db-files true
# On-disk B+ Tree
# Load previously stored data from disk.
# Database files need to exist. See `keep-db-files`.
#load-from-disk false
# On-disk B+ Tree
# Path where the on-disk database files are stored.
# The default value is the /tmp directory.
#
#db-path /tmp
# On-disk B+ Tree
# Set the size in bytes of the extra mapped memory.
# The default value is 0.
#
#xmmap 0
# On-disk B+ Tree
# Max number of leaf nodes to be cached.
# Specifies the maximum number of leaf nodes to be cached.
# If it is not more than 0, the default value is specified.
# The default value is 1024.
#
#cache-lcnum 1024
# On-disk B+ Tree
# Specifies the maximum number of non-leaf nodes to be cached.
# If it is not more than 0, the default value is specified.
# The default value is 512.
#
#cache-ncnum 512
# On-disk B+ Tree
# Specifies the number of members in each leaf page.
# If it is not more than 0, the default value is specified.
# The default value is 128.
#
#tune-lmemb 128
# On-disk B+ Tree
# Specifies the number of members in each non-leaf page.
# If it is not more than 0, the default value is specified.
# The default value is 256.
#
#tune-nmemb 256
# On-disk B+ Tree
# Specifies the number of elements of the bucket array.
# If it is not more than 0, the default value is specified.
# The default value is 32749.
# Suggested size of the bucket array is about from 1 to 4
# times of the number of all pages to be stored.
#
#tune-bnum 32749
# On-disk B+ Tree
# Specifies that each page is compressed with ZLIB|BZ2 encoding.
# Disabled by default.
#
#compression zlib