NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
HTTP server metricset
editHTTP server metricset
editThis 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"
Fields
editFor 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" }