IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
MongoDB replstatus metricset
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
MongoDB replstatus metricset
editThis is the replstatus
metricset of the module mongodb.
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.replstatus", "duration": 115000, "module": "mongodb" }, "metricset": { "name": "replstatus" }, "mongodb": { "replstatus": { "headroom": { "max": null, "min": null }, "lag": { "max": null, "min": null }, "members": { "arbiter": { "count": 0, "hosts": null }, "down": { "count": 0, "hosts": null }, "primary": { "host": "22b4e1fb8197:27017", "optime": 1550700559 }, "recovering": { "count": 0, "hosts": null }, "rollback": { "count": 0, "hosts": null }, "secondary": { "count": 0, "hosts": null, "optimes": null }, "startup2": { "count": 0, "hosts": null }, "unhealthy": { "count": 0, "hosts": null }, "unknown": { "count": 0, "hosts": null } }, "oplog": { "first": { "timestamp": 1550700557 }, "last": { "timestamp": 1550700559 }, "size": { "allocated": 40572728934, "used": 180 }, "window": 2 }, "optimes": { "applied": 1550700559, "durable": 1550700559, "last_committed": 1550700559 }, "server_date": "2019-02-20T23:09:23.733+01:00", "set_name": "beats" } }, "service": { "address": "172.26.0.2:27017", "type": "mongodb" } }