HTTP server metricsetedit

Warning

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

This is the server metricset of the module http.

Events sent to the http endpoint will be put by default under the http.server prefix. To change this use the server.paths config options. In the example below every request to /foo will be put under http.foo.

- module: http
  metricsets: ["server"]
  host: "localhost"
  port: "8080"
  server.paths:
    - path: "/foo"
      namespace: "foo"

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":"beathost",
        "name":"beathost"
    },
    "metricset":{
        "host":"localhost",
        "module":"http",
        "name":"server",
        "rtt":44269
    },
    "http":{
        "server":{
            "test_metric": 5,
        }
    },
    "type":"metricsets"
}