Created
October 28, 2014 04:32
-
-
Save vayn/32d68e58bae7d0052230 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################### | |
# 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 IPv4 or IPv6 from being counted. | |
# Ranges can be included as well using a dash in between | |
# the IPs (start-end). | |
# | |
#exclude-ip 127.0.0.1 | |
#exclude-ip 192.168.0.1-192.168.0.100 | |
#exclude-ip ::1 | |
#exclude-ip 0:0:0:0:0:ffff:808:804-0:0:0:0:0:ffff:808:808 | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment