This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
NATS connection metricset
editNATS connection metricset
editThis is the connections metricset of the module nats collecting metrics per connection.
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":"nats", "name":"connections", "rtt":44269 }, "nats": { "server": { "id": "bUAdpRFtMWddIBWw80Yd9D", "time": "2018-12-28T12:33:53.026865597Z" }, "connection": { "idle_time": 0, "in": { "bytes": 678867264, "messages": 42429204 }, "name": "NATS Benchmark", "out": { "bytes": 0, "messages": 0 }, "pending_bytes": 0, "subscriptions": 0, "uptime": 29 } }, "type":"metricsets" }