﻿---
title: CouchDB server metricset
description: This is the server metricset of the module couchdb. This is a default metricset. If the host module is unconfigured, this metricset is enabled by default...
url: https://www.elastic.co/elastic/docs-builder/docs/2865/reference/beats/metricbeat/metricbeat-metricset-couchdb-server
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# CouchDB server metricset
This is the server metricset of the module couchdb.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/elastic/docs-builder/docs/2865/reference/beats/metricbeat/exported-fields-couchdb) section.
Here is an example document generated by this metricset:
```json
{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "couchdb": {
        "server": {
            "couchdb": {
                "auth_cache_hits": 0,
                "auth_cache_misses": 0,
                "database_reads": 0,
                "database_writes": 0,
                "open_databases": 0,
                "open_os_files": 0,
                "request_time": 12.667
            },
            "httpd": {
                "bulk_requests": 0,
                "clients_requesting_changes": 0,
                "requests": 4,
                "temporary_view_reads": 0,
                "view_reads": 0
            },
            "httpd_request_methods": {
                "COPY": 0,
                "DELETE": 0,
                "GET": 4,
                "HEAD": 0,
                "POST": 0,
                "PUT": 0
            },
            "httpd_status_codes": {
                "200": 4,
                "201": 0,
                "202": 0,
                "301": 0,
                "304": 0,
                "400": 0,
                "401": 0,
                "403": 0,
                "404": 0,
                "405": 0,
                "409": 0,
                "412": 0,
                "500": 0
            }
        }
    },
    "event": {
        "dataset": "couchdb.server",
        "duration": 115000,
        "module": "couchdb"
    },
    "metricset": {
        "name": "server",
        "period": 10000
    },
    "service": {
        "address": "172.19.0.2:5984",
        "id": "7021f7f554d9dd612adf13a6987d1358",
        "type": "couchdb",
        "version": "1.7.2"
    }
}
```