{
    "mode": "man",
    "parameter": "analog",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/analog/1/json",
    "generated": "2026-06-10T16:22:22Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "analog - web server logfile analyser\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "analog --help",
                    "content": "analog  [(-|+)1]  [(-|+)4]  [(-|+)5]  [(-|+)6]  [(-|+)7]  [(-|+)A]  [(-|+)a] [-B|+B[options]]\n[-b|+b[options]] [(-|+)C'configuration-line'] [-c|+c[options]] [(-|+)D]  [(-|+)d]  [-E|+E[op‐\ntions]]  [-F|+Fdate]  [-f|+f[options]]  [-G]  [+gfilename] [(-|+)H] [(-|+)h] [-I|+I[options]]\n[-i|+i[options]]   [-J|+J[options]]   [-j|+j[options]]   [-K|+K[options]]    [-k|+k[options]]\n[-L|+L[options]] [-l|+l[options]] [-M|+M[options]] [(-|+)m] [-N|+N[options]] [-n|+n[options]]\n[+Ooutput-file]  [-o|+o[options]]  [(-|+)P]  [-p|+p[options]]  [(-|+)Q]   [-q|+q[[-|+]types]]\n[-R|+R[options]]  [-r|+r[options]]  [-S|+S[options]]  [(-|+)S]  [-T|+Tdate]  [-t|+t[options]]\n[(-|+)Ucache]  [-u|+u[options]]  [-V|+V[[-|+]types]]   [-v|+v[options]]   [(-|+)W]   [(-|+)w]\n[(-|+)X]  [(-|+)x]  [-Y|+Y[options]]  [-y|+y[options]] [-Z|+Z[options]] [(-|+)z] [--settings]\n[logfile...]\n\nbut normally just\n\nanalog [-G] [+gfilename]\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "Analog is a program for analyzing log files, and is designed to be fast and  to  produce  at‐\ntractive statistics.\n\nThe usual (and easier) way of configuring analog is through a configuration file, not command\nline options.  For more information about writing a configuration file or about  the  command\nline  options see Readme.html in the analog documentation.  A description of what options are\navailable for the non-time reports is available in othreps.html#othclarg in the analog  docu‐\nmentation.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "--help Display version and help information and exit.\n\n(-|+)1 Toggle the Yearly Report.\n\n(-|+)4 Toggle the Quarter-Hour Report.\n\n(-|+)5 Toggle the Five-Minute Report.\n\n(-|+)6 Toggle the Quarter-Hour Summary.\n\n(-|+)7 Toggle the Five-Minute Summary.\n\n(-|+)A Turn all the reports (except the General Summary) off or on.\n\n(-|+)a Toggle output style between HTML and PLAIN formats, respectively.\n",
            "subsections": [
                {
                    "name": "-B",
                    "content": "Turn the Browser Report off or on, possibly setting options.\n",
                    "flag": "-B"
                },
                {
                    "name": "-b",
                    "content": "Turn the Browser Summary off or on, possibly setting options.\n\n(-|+)C'configuration-line'\nInclude configuration-line in the configuration commands.\n",
                    "flag": "-b"
                },
                {
                    "name": "-c",
                    "content": "Turn the Status Code Report off or on, possibly setting options.\n\n(-|+)D Toggle the Daily Report.\n\n(-|+)d Toggle the Daily Summary.\n",
                    "flag": "-c"
                },
                {
                    "name": "-E",
                    "content": "Turn the Redirection Report off or on, possibly setting options.\n",
                    "flag": "-E"
                },
                {
                    "name": "-F",
                    "content": "Toggle  or set the FROM date.  Use -F to turn the FROM date off, and use +Fdate to set\nthe FROM date.\n",
                    "flag": "-F"
                },
                {
                    "name": "-f",
                    "content": "Turn the Referrer Report off or on, possibly setting options.\n",
                    "flag": "-f"
                },
                {
                    "name": "-G",
                    "content": "+gfilename\nAdd filename to the list of configuration files.\n\n(-|+)H Turn the Hourly Report off or on, possibly setting options.\n\n(-|+)h Toggle the Hourly Summary.\n",
                    "flag": "-G"
                },
                {
                    "name": "-I",
                    "content": "Turn the Failure Report off or on, possibly setting options.\n",
                    "flag": "-I"
                },
                {
                    "name": "-i",
                    "content": "Turn the Directory Report off or on, possibly setting options.\n",
                    "flag": "-i"
                },
                {
                    "name": "-J",
                    "content": "Turn the User Failure Report off or on, possibly setting options.\n",
                    "flag": "-J"
                },
                {
                    "name": "-j",
                    "content": "Turn the User Redirection Report off or on, possibly setting options.\n",
                    "flag": "-j"
                },
                {
                    "name": "-K",
                    "content": "Turn the Failed Referrer Report off or on, possibly setting options.\n",
                    "flag": "-K"
                },
                {
                    "name": "-k",
                    "content": "Turn the Redirected Referrer Report off or on, possibly setting options.\n",
                    "flag": "-k"
                },
                {
                    "name": "-L",
                    "content": "Turn the Host Failure Report off or on, possibly setting options.\n",
                    "flag": "-L"
                },
                {
                    "name": "-l",
                    "content": "Turn the Host Redirection Report off or on, possibly setting options.\n",
                    "flag": "-l"
                },
                {
                    "name": "-M",
                    "content": "Turn the Virtual Host Failure Report off or on, possibly setting options.\n\n(-|+)m Toggle the Monthly Report.\n",
                    "flag": "-M"
                },
                {
                    "name": "-N",
                    "content": "Turn the Search Query Report off or on, possibly setting options.\n",
                    "flag": "-N"
                },
                {
                    "name": "-n",
                    "content": "Turn the Search Word Report off or on, possibly setting options.\n\n(-|+)Ooutput-file\nWrite output to output-file. Use - for stdout.\n",
                    "flag": "-n"
                },
                {
                    "name": "-o",
                    "content": "Turn the Domain Report off or on, possibly setting options.\n\n(-|+)P Toggle the Processing Time Report.\n\n(-|+)p Toggle the Operating System Report.\n\n(-|+)Q Toggle the Quarterly Report.\n",
                    "flag": "-o"
                },
                {
                    "name": "-q -",
                    "content": "Turn all warnings off/on, or remove/add/use exactly specified types of warnings.\n",
                    "flag": "-q"
                },
                {
                    "name": "-R",
                    "content": "Turn the Virtual Host Redirection Report off or on, possibly setting options.\n",
                    "flag": "-R"
                },
                {
                    "name": "-r",
                    "content": "Turn the Request Report off or on, possibly setting options.\n",
                    "flag": "-r"
                },
                {
                    "name": "-S",
                    "content": "Turn the Host Report off or on, possibly setting options.\n",
                    "flag": "-S"
                },
                {
                    "name": "-s",
                    "content": "Turn the Referring Site Report off or on, possibly setting options.\n",
                    "flag": "-s"
                },
                {
                    "name": "-T",
                    "content": "Toggle or set the TO date.  Use -T to turn the TO date off, and use +Tdate to set  the\nTO date.\n",
                    "flag": "-T"
                },
                {
                    "name": "-t",
                    "content": "Turn the File Type Report off or on, possibly setting options.\n\n(-|+)Ucache\nUse file cache for cache output.\n",
                    "flag": "-t"
                },
                {
                    "name": "-u",
                    "content": "Turn the User Report off or on, possibly setting options.\n",
                    "flag": "-u"
                },
                {
                    "name": "-V -",
                    "content": "Turn all debugging off/on, or remove/add/use exactly specified types of debugging mes‐\nsages.\n",
                    "flag": "-V"
                },
                {
                    "name": "-v",
                    "content": "Turn the Virtual Host Report off or on, possibly setting options.\n\n(-|+)W Toggle the Weekly Report.\n\n(-|+)w Toggle the Hour of the Week Report.\n\n(-|+)X Toggle GOTOS (on and off only).\n\n(-|+)x Toggle the General Summary.\n",
                    "flag": "-v"
                },
                {
                    "name": "-Y",
                    "content": "Turn the Internal Search Query Report off or on, possibly setting options.\n",
                    "flag": "-Y"
                },
                {
                    "name": "-y",
                    "content": "Turn the Internal Search Word Report off or on, possibly setting options.\n",
                    "flag": "-y"
                },
                {
                    "name": "-Z",
                    "content": "Turn the Organization Report off or on, possibly setting options.\n\n(-|+)z Toggle the File Size Report.\n",
                    "flag": "-Z"
                },
                {
                    "name": "--settings",
                    "content": "Instead of processing any files, display in English the settings analog would  use  if\nit ran normally. This is useful for troubleshooting.\n\nlogfile...\nThe logfiles to be analysed. Use - for stdin.\n",
                    "long": "--settings"
                }
            ]
        },
        "SEE ALSO": {
            "content": "The analog home page at http://www.analog.cx/\nThe analog documentation on your local machine, or from the analog home page.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "An up to date list of known bugs and bug fixes can be found at http://www.analog.cx/bugs.html\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Analog    and   related   documentation   was   written   by   Stephen   Turner   <analog-au‐\nthor@lists.meer.net>, with contributions from other authors.  (See acknow.html in the  analog\ndocumentation.)  This man page was written by Alexander Toth <alex@purificator.net>.\n\n\n\nAnalog                             Version 6.0    19 December 2004                         analog(1)",
            "subsections": []
        }
    },
    "summary": "analog - web server logfile analyser",
    "flags": [
        {
            "flag": "-B",
            "long": null,
            "arg": null,
            "description": "Turn the Browser Report off or on, possibly setting options."
        },
        {
            "flag": "-b",
            "long": null,
            "arg": null,
            "description": "Turn the Browser Summary off or on, possibly setting options. (-|+)C'configuration-line' Include configuration-line in the configuration commands."
        },
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "Turn the Status Code Report off or on, possibly setting options. (-|+)D Toggle the Daily Report. (-|+)d Toggle the Daily Summary."
        },
        {
            "flag": "-E",
            "long": null,
            "arg": null,
            "description": "Turn the Redirection Report off or on, possibly setting options."
        },
        {
            "flag": "-F",
            "long": null,
            "arg": null,
            "description": "Toggle or set the FROM date. Use -F to turn the FROM date off, and use +Fdate to set the FROM date."
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": "Turn the Referrer Report off or on, possibly setting options."
        },
        {
            "flag": "-G",
            "long": null,
            "arg": null,
            "description": "+gfilename Add filename to the list of configuration files. (-|+)H Turn the Hourly Report off or on, possibly setting options. (-|+)h Toggle the Hourly Summary."
        },
        {
            "flag": "-I",
            "long": null,
            "arg": null,
            "description": "Turn the Failure Report off or on, possibly setting options."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "Turn the Directory Report off or on, possibly setting options."
        },
        {
            "flag": "-J",
            "long": null,
            "arg": null,
            "description": "Turn the User Failure Report off or on, possibly setting options."
        },
        {
            "flag": "-j",
            "long": null,
            "arg": null,
            "description": "Turn the User Redirection Report off or on, possibly setting options."
        },
        {
            "flag": "-K",
            "long": null,
            "arg": null,
            "description": "Turn the Failed Referrer Report off or on, possibly setting options."
        },
        {
            "flag": "-k",
            "long": null,
            "arg": null,
            "description": "Turn the Redirected Referrer Report off or on, possibly setting options."
        },
        {
            "flag": "-L",
            "long": null,
            "arg": null,
            "description": "Turn the Host Failure Report off or on, possibly setting options."
        },
        {
            "flag": "-l",
            "long": null,
            "arg": null,
            "description": "Turn the Host Redirection Report off or on, possibly setting options."
        },
        {
            "flag": "-M",
            "long": null,
            "arg": null,
            "description": "Turn the Virtual Host Failure Report off or on, possibly setting options. (-|+)m Toggle the Monthly Report."
        },
        {
            "flag": "-N",
            "long": null,
            "arg": null,
            "description": "Turn the Search Query Report off or on, possibly setting options."
        },
        {
            "flag": "-n",
            "long": null,
            "arg": null,
            "description": "Turn the Search Word Report off or on, possibly setting options. (-|+)Ooutput-file Write output to output-file. Use - for stdout."
        },
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "Turn the Domain Report off or on, possibly setting options. (-|+)P Toggle the Processing Time Report. (-|+)p Toggle the Operating System Report. (-|+)Q Toggle the Quarterly Report."
        },
        {
            "flag": "-q",
            "long": null,
            "arg": null,
            "description": "Turn all warnings off/on, or remove/add/use exactly specified types of warnings."
        },
        {
            "flag": "-R",
            "long": null,
            "arg": null,
            "description": "Turn the Virtual Host Redirection Report off or on, possibly setting options."
        },
        {
            "flag": "-r",
            "long": null,
            "arg": null,
            "description": "Turn the Request Report off or on, possibly setting options."
        },
        {
            "flag": "-S",
            "long": null,
            "arg": null,
            "description": "Turn the Host Report off or on, possibly setting options."
        },
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": "Turn the Referring Site Report off or on, possibly setting options."
        },
        {
            "flag": "-T",
            "long": null,
            "arg": null,
            "description": "Toggle or set the TO date. Use -T to turn the TO date off, and use +Tdate to set the TO date."
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": "Turn the File Type Report off or on, possibly setting options. (-|+)Ucache Use file cache for cache output."
        },
        {
            "flag": "-u",
            "long": null,
            "arg": null,
            "description": "Turn the User Report off or on, possibly setting options."
        },
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": "Turn all debugging off/on, or remove/add/use exactly specified types of debugging mes‐ sages."
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": "Turn the Virtual Host Report off or on, possibly setting options. (-|+)W Toggle the Weekly Report. (-|+)w Toggle the Hour of the Week Report. (-|+)X Toggle GOTOS (on and off only). (-|+)x Toggle the General Summary."
        },
        {
            "flag": "-Y",
            "long": null,
            "arg": null,
            "description": "Turn the Internal Search Query Report off or on, possibly setting options."
        },
        {
            "flag": "-y",
            "long": null,
            "arg": null,
            "description": "Turn the Internal Search Word Report off or on, possibly setting options."
        },
        {
            "flag": "-Z",
            "long": null,
            "arg": null,
            "description": "Turn the Organization Report off or on, possibly setting options. (-|+)z Toggle the File Size Report."
        },
        {
            "flag": "",
            "long": "--settings",
            "arg": null,
            "description": "Instead of processing any files, display in English the settings analog would use if it ran normally. This is useful for troubleshooting. logfile... The logfiles to be analysed. Use - for stdin."
        }
    ],
    "examples": [],
    "see_also": []
}