{
    "mode": "man",
    "parameter": "split-logfile",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/split-logfile/8/json",
    "generated": "2026-05-30T07:07:36Z",
    "synopsis": "split-logfile < logfile",
    "sections": {
        "NAME": {
            "content": "split-logfile - Split combined virtual hosts access log into one file per virtual host\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "split-logfile < logfile\n\n",
            "subsections": []
        },
        "SUMMARY": {
            "content": "This script will take a combined Web server access log file and break its contents into sepa‐\nrate files.  It assumes that the first field of each line is the virtual host  identity  (put\nthere by \"%v\"), and that the logfiles should be named that+\".log\" in the current directory.\n\nThe  combined log file is read from stdin.  Records read will be appended to any existing log\nfiles.\n\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "split-logfile < /var/log/apache2/othervhostsaccess.log\n\n\n\nApache HTTP Server                           2009-12-06                             SPLIT-LOGFILE(8)",
            "subsections": []
        }
    },
    "summary": "split-logfile - Split combined virtual hosts access log into one file per virtual host",
    "flags": [],
    "examples": [
        "split-logfile < /var/log/apache2/othervhostsaccess.log",
        "Apache HTTP Server                           2009-12-06                             SPLIT-LOGFILE(8)"
    ],
    "see_also": []
}