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.
Stan subscriptions metricset
editStan subscriptions metricset
editNATS streaming server (STAN) subscription statistics
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.
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", "event": { "dataset": "stan.subscriptions", "duration": 115000, "module": "stan" }, "metricset": { "name": "subscriptions", "period": 10000 }, "service": { "address": "localhost:32770", "type": "stan" }, "stan": { "cluster": { "id": "test-cluster" }, "server": { "id": "mNKuLCRmOZD79arLFAXiaJ" }, "subscriptions": { "channel": "bar", "id": "benchmark-sub-2", "last_sent": 7195645, "offline": false, "pending": 1024, "stalled": true } } }