Movatterモバイル変換


[0]ホーム

URL:


Loading
  1. Elastic Docs/
  2. Reference/
  3. Ingestion tools/
  4. Elastic integrations

CouchDB Integration

Version1.5.1 (View all)
Subscription level
What's this?
Basic
Developed by
What's this?
Elastic
Ingestion method(s)API
Minimum Kibana version(s)9.0.0
8.13.0

This Elastic integration collects and parses the Server metrics fromCouchDB so that the user could monitor and troubleshoot the performance of the CouchDB instances.

This integration useshttp metricbeat module to collect above metrics.

This integration has been tested againstCouchDB version 3.1 andCouchDB version 3.2.2.

In order to ingest data from CouchDB, you must know the host(s) and the administrator credentials for the CouchDB instance(s).

Host Configuration Format:http[s]://username:password@host:port

Example Host Configuration:http://admin:changeme@localhost:5984

Note

To mask the password in the Hosts connection string, remove the username and password from the string. Then, set up the Hosts field with only the host address (localhost:5984 in the example) and any additional connection parameters. Finally, use theusername andpassword fields under advanced options for configuration.

This is theserver data stream.

Reference:https://docs.couchdb.org/en/stable/api/server/common.html#node-node-name-stats

Example
{    "@timestamp": "2022-07-13T07:21:10.000Z",    "agent": {        "ephemeral_id": "389401b4-5960-4cd8-a207-033a7e3c5a54",        "id": "1f5b14b7-019a-4625-85ab-1b51ea6c08e5",        "name": "docker-fleet-agent",        "type": "metricbeat",        "version": "8.3.2"    },    "couchdb": {        "server": {            "auth_cache": {                "hits": 0,                "misses": 0            },            "database": {                "open": 0,                "reads": 0,                "writes": 0            },            "httpd": {                "clients_requesting_changes": 0,                "request_methods": {                    "copy": 0,                    "delete": 0,                    "get": 1,                    "head": 0,                    "post": 0,                    "put": 0                },                "requests": {                    "bulk": 0,                    "count": 1                },                "status_codes": {                    "200": 1,                    "201": 0,                    "202": 0,                    "301": 0,                    "304": 0,                    "400": 0,                    "401": 0,                    "403": 0,                    "404": 0,                    "405": 0,                    "409": 0,                    "412": 0,                    "500": 0                },                "view_reads": {                    "count": 0,                    "temporary": 0                }            },            "open_os_files": 0,            "request_time": {                "avg": 0            }        }    },    "data_stream": {        "dataset": "couchdb.server",        "namespace": "ep",        "type": "metrics"    },    "ecs": {        "version": "8.11.0"    },    "elastic_agent": {        "id": "1f5b14b7-019a-4625-85ab-1b51ea6c08e5",        "snapshot": false,        "version": "8.3.2"    },    "event": {        "agent_id_status": "verified",        "category": [            "database"        ],        "dataset": "couchdb.server",        "duration": 6178377,        "ingested": "2022-07-13T07:21:14Z",        "kind": "metric",        "module": "couchdb",        "type": [            "info"        ]    },    "host": {        "architecture": "x86_64",        "containerized": true,        "hostname": "docker-fleet-agent",        "ip": [            "172.18.0.7"        ],        "mac": [            "02-42-AC-1F-00-07"        ],        "name": "docker-fleet-agent",        "os": {            "codename": "focal",            "family": "debian",            "kernel": "3.10.0-1160.66.1.el7.x86_64",            "name": "Ubuntu",            "platform": "ubuntu",            "type": "linux",            "version": "20.04.4 LTS (Focal Fossa)"        }    },    "metricset": {        "name": "json",        "period": 10000    },    "service": {        "address": "http://elastic-package-service_couchdb_1:5984/_node/_local/_stats",        "type": "http"    },    "tags": [        "couchdb-server"    ]}

ECS Field Reference

Please refer to the followingdocument for detailed information on ECS fields.

Exported fields
FieldDescriptionTypeUnitMetric Type
@timestampEvent timestamp.date
agent.idUnique identifier of this agent (if one exists). Example: For Beats this would be beat.id.keyword
cloud.account.idThe cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.keyword
cloud.availability_zoneAvailability zone in which this host, resource, or service is located.keyword
cloud.instance.idInstance ID of the host machine.keyword
cloud.providerName of the cloud provider. Example values are aws, azure, gcp, or digitalocean.keyword
cloud.regionRegion in which this host, resource, or service is located.keyword
container.idUnique container id.keyword
couchdb.server.auth_cache.hitsNumber of authentication cache hits.longcounter
couchdb.server.auth_cache.missesNumber of authentication cache misses.longcounter
couchdb.server.database.openNumber of open databases.longcounter
couchdb.server.database.readsNumber of times a document was read from a database.longcounter
couchdb.server.database.writesNumber of times a database was changed.longcounter
couchdb.server.httpd.clients_requesting_changesNumber of clients for continuous changes.longcounter
couchdb.server.httpd.request_methods.copyNumber of HTTP COPY requests.longcounter
couchdb.server.httpd.request_methods.deleteNumber of HTTP DELETE requests.longcounter
couchdb.server.httpd.request_methods.getNumber of HTTP GET requests.longcounter
couchdb.server.httpd.request_methods.headNumber of HTTP HEAD requests.longcounter
couchdb.server.httpd.request_methods.postNumber of HTTP POST requests.longcounter
couchdb.server.httpd.request_methods.putNumber of HTTP PUT requests.longcounter
couchdb.server.httpd.requests.bulkNumber of bulk requests.longcounter
couchdb.server.httpd.requests.countNumber of HTTP requests.longcounter
couchdb.server.httpd.status_codes.200Number of HTTP 200 OK responses.longcounter
couchdb.server.httpd.status_codes.201Number of HTTP 201 Created responses.longcounter
couchdb.server.httpd.status_codes.202Number of HTTP 202 Accepted responses.longcounter
couchdb.server.httpd.status_codes.301Number of HTTP 301 Moved Permanently responses.longcounter
couchdb.server.httpd.status_codes.304Number of HTTP 304 Not Modified responses.longcounter
couchdb.server.httpd.status_codes.400Number of HTTP 400 Bad Request responses.longcounter
couchdb.server.httpd.status_codes.401Number of HTTP 401 Unauthorized responses.longcounter
couchdb.server.httpd.status_codes.403Number of HTTP 403 Forbidden responses.longcounter
couchdb.server.httpd.status_codes.404Number of HTTP 404 Not Found responses.longcounter
couchdb.server.httpd.status_codes.405Number of HTTP 405 Method Not Allowed responses.longcounter
couchdb.server.httpd.status_codes.409Number of HTTP 409 Conflict responses.longcounter
couchdb.server.httpd.status_codes.412Number of HTTP 412 Precondition Failed responses.longcounter
couchdb.server.httpd.status_codes.500Number of HTTP 500 Internal Server Error responses.longcounter
couchdb.server.httpd.view_reads.countNumber of view reads.longcounter
couchdb.server.httpd.view_reads.temporaryNumber of temporary view reads.longcounter
couchdb.server.open_os_filesNumber of file descriptors CouchDB has open.longcounter
couchdb.server.request_time.avgArithmetic mean of the request time inside CouchDB.floats
data_stream.datasetData stream dataset.constant_keyword
data_stream.namespaceData stream namespace.constant_keyword
data_stream.typeData stream type.constant_keyword
host.nameName of the host. It can contain what hostname returns on Unix systems, the fully qualified domain name (FQDN), or a name specified by the user. The recommended value is the lowercase FQDN of the host.keyword
service.addressAddress where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets).keyword

This integration includes one or more Kibana dashboards that visualizes the data collected by the integration. The screenshots below illustrate how the ingested data is displayed.

Metricbeat CouchDB Overview
Changelog
VersionDetailsMinimum Kibana version
1.5.1Bug fix (View pull request)
Added description to ssl nodes including links to documentation.
9.0.0
8.13.0
1.5.0Enhancement (View pull request)
Add support for Kibana9.0.0.
9.0.0
8.13.0
1.4.0Enhancement (View pull request)
Add separate username and password configuration options, and enable secret for the password field.
8.13.0
1.3.0Enhancement (View pull request)
ECS version updated to 8.11.0. Update the kibana constraint to ^8.13.0. Modified the field definitions to remove ECS fields made redundant by the ecs@mappings component template.
8.13.0
1.2.0Enhancement (View pull request)
Add global filter on data_stream.dataset to improve performance.
8.8.0
1.1.0Enhancement (View pull request)
Update the package format_version to 3.0.0.
8.8.0
1.0.1Bug fix (View pull request)
Remove forwarded tag from metrics data stream.
8.8.0
1.0.0Enhancement (View pull request)
Make CouchDB GA.
8.8.0
0.7.1Bug fix (View pull request)
Resolve the conflicts in host.ip field.
8.8.0
0.7.0Enhancement
Enable time series data streams for the metrics datasets. This dramatically reduces storage for metrics and is expected to progressively improve query performance. For more details, seehttps://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html.
8.8.0
0.6.0Enhancement (View pull request)
Rename ownership from obs-service-integrations to obs-infraobs-integrations
8.4.0
0.5.1Bug fix (View pull request)
Modifed the dimension field mapping to support public cloud deployment.
8.4.0
0.5.0Enhancement (View pull request)
Adding dimension fileds to server datastream for TSDB enablement.
8.4.0
0.4.0Enhancement (View pull request)
Migrate visualizations to lens.
8.4.0
0.3.1Enhancement (View pull request)
Added categories and/or subcategories.
8.3.0
0.3.0Enhancement (View pull request)
Update ECS version to 8.5.1
8.3.0
0.2.0Enhancement (View pull request)
Added infrastructure category.
8.3.0
0.1.0Enhancement (View pull request)
CouchDB integration package with "server" data stream
8.3.0

[8]ページ先頭

©2009-2026 Movatter.jp