New

The executive guide to generative AI

Read more
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

mongodb dbstats MetricSet

edit

This is the dbstats metricset of the module mongodb.

Fields

edit

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": "host.example.com",
        "name": "host.example.com"
    },
    "metricset": {
        "host": "mongodb:27017",
        "module": "mongodb",
        "name": "dbstats",
        "rtt": 115
    },
    "mongodb": {
        "dbstats": {
            "avg_obj_size": 59,
            "collections": 1,
            "data_size": 59,
            "db": "admin",
            "index_size": 32768,
            "indexes": 2,
            "num_extents": 0,
            "objects": 1,
            "storage_size": 16384
        }
    },
    "type": "metricsets"
}

On this page

Was this helpful?
Feedback