IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
MongoDB dbstats metricset
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
MongoDB dbstats metricset
editThis is the dbstats
metricset of the MongoDB module.
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": "2017-10-12T08:05:34.853Z", "agent": { "hostname": "host.example.com", "name": "host.example.com" }, "event": { "dataset": "mongodb.dbstats", "duration": 115000, "module": "mongodb" }, "metricset": { "name": "dbstats" }, "mongodb": { "dbstats": { "avg_obj_size": { "bytes": 741 }, "collections": 2, "data_size": { "bytes": 1482 }, "db": "local", "file_size": {}, "index_size": { "bytes": 32768 }, "indexes": 2, "ns_size_mb": {}, "num_extents": 0, "objects": 2, "storage_size": { "bytes": 32768 } } }, "service": { "address": "172.26.0.2:27017", "type": "mongodb" } }