Metricbeat couchdb module crash with CouchDB 3.x

The metricbeat module for CouchDB crash when targetting CouchDB 3.1

Metricbeat version: 7.8.1
CouchDB version: 3.1.0 (6 nodes cluster)
OS: RedHat 7.8

# /etc/metricbeat/modules.d/couchdb.yaml
- module: couchdb
  metricsets ["server"]
  period: 10s
  hosts: ["localhost:5984/_node/_local/_stats"]
  username: admin
  password: ******

Starting metricbeat metricbeat -e shows:

ERROR   runtime/panic.go:199   recovered from panic while fetching 'couchdb/server' for host 'localhost:5984'. Recovering, but please report this.
  "panic": "runtime error: invalid memory address or nil pointer dereference",
  "stack": "

I'm having the exact same issue with CouchDb 3.1.0 and Metricbeat 7.9.1.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.