Goaccess parameter entry

Source: Internet
Author: User
Tags geoip geoip database ssl certificate


GoAccess-1.2

usage:goaccess [filename] [Options ...] [-c] [-M] [-h] [-Q] [-d] [...]
The following options can also is supplied to the command:

Log & Date Format Options

--date-format=<dateformat>-Specify log date format. e.g.,%d/%b/%y
--log-format=<logformat>-Specify log format. Inner quotes need to be
Escaped, or use a single quotes.
--time-format=<timeformat>-Specify log Time format. e.g.,%h:%m:%s

User Interface Options

-C--config-dialog-prompt log/date/time Configuration window.
-I--hl-header-color highlight active panel.
-M--with-mouse-enable mouse support on main dashboard.
--color=<fg:bg[attrs, panel]>-Specify custom colors. See Manpage for more
Details and options.
--color-scheme=<1|2|3>-schemes:1 = Grey, 2 = Green, 3 = Monokai.
--html-custom-css=<path.css>-Specify a custom CSS file in the HTML report.
--html-custom-js=<path.js>-Specify a custom JS file in the HTML report.
--html-prefs=<json_obj>-Set default HTML report preferences.
--html-report-title=<title>-Set HTML report page title and header.
--json-pretty-print-format JSON output W/tabs & newlines.
--max-items-maximum number of items to show per panel.
See mans page for limits.
--no-color-disable colored output.
--no-column-names-don ' t write column names in term output.
--no-csv-summary-disable summary metrics on the CSV output.
--no-progress-disable Progress Metrics.
--no-tab-scroll-disable scrolling through Panels on tab.
--no-html-last-updated-hide HTML Last updated field.

Server Options

--addr=<addr>-Specify IP address to bind server.
--daemonize-run as Daemon (if--real-time-html enabled).
--fifo-in=<path>-Path to read named pipe (FIFO).
--fifo-out=<path>-Path to write named pipe (FIFO).
--origin=<addr>-Ensure clients send the specified origin header
Upon the WebSocket handshake.
--port=<port>-Specify the port to use.
--real-time-html-enable Real-time HTML output.
--ssl-cert=<cert.crt>-Path to Tls/ssl certificate.
--ssl-key=<priv.key>-Path to Tls/ssl private key.
--ws-url=<url>-URL to which the WebSocket server responds.

File Options

--The log file to parse was read from stdin.
-F--log-file=<filename>-Path to input log file.
-L--debug-file=<filename>-Send all debug messages to the specified
File.
-P--config-file=<filename>-Custom configuration file.
--invalid-requests=<filename>-Log Invalid requests to the specified file.
--no-global-config-don ' t load global configuration file.

Parse Options

-A--agent-list-enable a list of user-agents by host.
-D--with-output-resolver-enable IP Resolver on html| JSON output.
-e--exclude-ip=<ip>-Exclude one or multiple IPV4/6. Allows IP
ranges e.g. 192.168.0.1-192.168.0.10
-H--http-protocol=<yes|no>-Set/unset HTTP request protocol if found.
-M--http-method=<yes|no>-Set/unser HTTP request method if found.
-o--output=file.html|json|csv-output either an HTML, JSON or a CSV file.
-Q--no-query-string-ignore Request ' s query string. Removing the
Query string can greatly decrease memory
consumption.
-R--no-term-resolver-disable IP resolver on terminal output.
--444-as-404-treat Non-standard status code 444 as 404.
--4xx-to-unique-count-add 4xx Client errors to the unique visitors
Count.
--all-static-files-include static files with a query string.
--crawlers-only-parse and display only crawlers.
--date-spec=<date|hr>-date specificity. Possible values: ' Date '
(default), or ' hr '.
--double-decode-decode double-encoded values.
--enable-panel=<panel>-Enable parsing/displaying the given panel.
--hour-spec=(default), or ' min ' (tenth of a min).
--ignore-crawlers-ignore crawlers.
--ignore-panel=<panel>-Ignore parsing/displaying the given panel.
--ignore-referer=<needle>-Ignore a referer from being counted. Wild Cards
is allowed. i.e., *.bing.com
--ignore-status=<code>-Ignore parsing the given status CODE.
--num-tests=<number>-Number of lines to test. >= 0 (default)
--process-and-exit-parse log and exit without outputting data.
--real-os-display Real OS names. e.g, Windows XP, Snow
Leopard.
--sort-panel=panel,metric,order-sort panel on initial load. For example:
--sort-panel=visitors,by_hits,asc. See
Manpage for a list of panels/fields.
--static-file=<extension>-Add static file extension. e.g.:. mp3.
Extensions is case sensitive.

GeoIP Options

-G--std-geoip-standard GeoIP database for less memory
consumption.
--geoip-database=<path>-Specify path to GEOIP database file. i.e.,
GeoLiteCity.dat, GeoIPv6.dat ...

Other Options

-H--help-this Help.
-V--version-display version information and exit.
-S--storage-display Current storage method. e.g., B +
Tree, Hash.
--dcf-display the path of the default Config
File when '-P ' is not used.

Examples can found by running ' Man goaccess '.

For more details Visit:http://goaccess.io
Goaccess Copyright (C) 2009-2016 by Gerardo Orellana

Goaccess parameter entry

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.