{
    "content": [
        {
            "type": "text",
            "text": "# split-logfile(8) (man)\n\n**Summary:** split-logfile - Split combined virtual hosts access log into one file per virtual host\n\n**Synopsis:** split-logfile < logfile\n\n## Examples\n\n- `split-logfile < /var/log/apache2/othervhostsaccess.log`\n- `Apache HTTP Server                           2009-12-06                             SPLIT-LOGFILE(8)`\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (3 lines)\n- **SUMMARY** (8 lines)\n- **EXAMPLES** (5 lines)\n\n## Full Content\n\n### NAME\n\nsplit-logfile - Split combined virtual hosts access log into one file per virtual host\n\n### SYNOPSIS\n\nsplit-logfile < logfile\n\n### SUMMARY\n\nThis 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### EXAMPLES\n\nsplit-logfile < /var/log/apache2/othervhostsaccess.log\n\n\n\nApache HTTP Server                           2009-12-06                             SPLIT-LOGFILE(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "split-logfile",
        "section": "8",
        "mode": "man",
        "summary": "split-logfile - Split combined virtual hosts access log into one file per virtual host",
        "synopsis": "split-logfile < logfile",
        "flags": [],
        "examples": [
            "split-logfile < /var/log/apache2/othervhostsaccess.log",
            "Apache HTTP Server                           2009-12-06                             SPLIT-LOGFILE(8)"
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SUMMARY",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}