Apache status metricset

edit

The Apache status metricset collects data from the Apache mod_status module. It scrapes the server status data from the web page generated by mod_status.

Fields

edit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "apache": {
        "status": {
            "bytes_per_request": 78.7692,
            "bytes_per_sec": 4.94686,
            "connections": {
                "async": {
                    "closing": 0,
                    "keep_alive": 1,
                    "writing": 0
                },
                "total": 1
            },
            "cpu": {
                "children_system": 0,
                "children_user": 0,
                "load": 3.99758,
                "system": 16.39,
                "user": 0.16
            },
            "hostname": "apache",
            "load": {
                "1": 170.11,
                "15": 77.62,
                "5": 167.51
            },
            "requests_per_sec": 0.0628019,
            "scoreboard": {
                "closing_connection": 0,
                "dns_lookup": 0,
                "gracefully_finishing": 0,
                "idle_cleanup": 0,
                "keepalive": 0,
                "logging": 0,
                "open_slot": 300,
                "reading_request": 0,
                "sending_reply": 1,
                "starting_up": 0,
                "total": 400,
                "waiting_for_connection": 99
            },
            "total_accesses": 26,
            "total_kbytes": 2,
            "uptime": {
                "server_uptime": 414,
                "uptime": 414
            },
            "workers": {
                "busy": 1,
                "idle": 99
            }
        }
    },
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "metricset": {
        "host": "apache",
        "module": "apache",
        "name": "status",
        "rtt": 115
    }
}