Nginx StubStatus Metricsetedit

The Nginx stubstatus metricset collects data from the Nginx ngx_http_stub_status module. It scrapes the server status data from the web page generated by ngx_http_stub_status.

Fieldsedit

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

Here is an example document generated by this metricset:

{
    "@timestamp": "2016-05-23T08:05:34.853Z",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "metricset": {
        "host": "nginx",
        "module": "nginx",
        "name": "stubstatus",
        "rtt": 115
    },
    "nginx": {
        "stubstatus": {
            "accepts": 22,
            "active": 1,
            "current": 10,
            "dropped": 0,
            "handled": 22,
            "hostname": "nginx",
            "reading": 0,
            "requests": 10,
            "waiting": 0,
            "writing": 1
        }
    },
    "type": "metricsets"
}