{
    "mode": "man",
    "parameter": "LOGRESOLVE",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/LOGRESOLVE/1/json",
    "generated": "2026-05-30T06:05:07Z",
    "synopsis": "logresolve [ -s filename ] [ -c ] < accesslog > accesslog.new",
    "sections": {
        "NAME": {
            "content": "logresolve - Resolve IP-addresses to hostnames in Apache log files\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "logresolve [ -s filename ] [ -c ] < accesslog > accesslog.new\n\n\n",
            "subsections": []
        },
        "SUMMARY": {
            "content": "logresolve  is a post-processing program to resolve IP-addresses in Apache's access logfiles.\nTo minimize impact on your nameserver, logresolve has its very own internal hash-table cache.\nThis  means  that each IP number will only be looked up the first time it is found in the log\nfile.\n\n\nTakes an Apache log file on standard input. The IP addresses must be the first thing on  each\nline and must be separated from the remainder of the line by a space.\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-s",
                    "content": "Specifies a filename to record statistics.\n",
                    "flag": "-s"
                },
                {
                    "name": "-c",
                    "content": "IP address, it looks up the IP addresses for the hostname and checks that one of these\nmatches the original address.\n\n\n\n\nApache HTTP Server                           2018-07-06                                LOGRESOLVE(1)",
                    "flag": "-c"
                }
            ]
        }
    },
    "summary": "logresolve - Resolve IP-addresses to hostnames in Apache log files",
    "flags": [
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": "Specifies a filename to record statistics."
        },
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "IP address, it looks up the IP addresses for the hostname and checks that one of these matches the original address. Apache HTTP Server 2018-07-06 LOGRESOLVE(1)"
        }
    ],
    "examples": [],
    "see_also": []
}