- Version: metricbeat 7.4.0 haproxy 1.9.8
- Operating System: Ubuntu 16.04.6 LTS
- Discuss Forum URL: Haproxy strconv.ParseFloat: parsing "": invalid syntax
- Steps to Reproduce: install mesos/marthon loadbalancer (which contains the haproxy) , install metricbeat with haproxy module (7.4.0)
got the same error, found no solution, is this a bug? :
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: 2019-10-08T12:00:53.191+0200 INFO module/wrapper.go:252 Error fetching data for metricset haproxy.info: error in mapping: error getting IdlePct: strconv.ParseFloat: parsing "": invalid syntax
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: 2019-10-08T12:00:53.191+0200 DEBUG [processors] processing/processors.go:183 Publish event: {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "@timestamp": "2019-10-08T10:00:53.191Z",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "@metadata": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "beat": "metricbeat",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "type": "_doc",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "version": "7.4.0"
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "event": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "dataset": "haproxy.info",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "module": "haproxy",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "duration": 490254
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "metricset": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "name": "info",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "period": 10000
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "service": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "type": "haproxy",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "address": "ba-load-001:9090"
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "error": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "message": "error in mapping: error getting IdlePct: strconv.ParseFloat: parsing "": invalid syntax"
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "host": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "id": "316de4b744b437c1e37d543c5ac4a02f",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "containerized": false,
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "hostname": "ba-load-001",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "architecture": "x86_64",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "os": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "name": "Ubuntu",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "kernel": "4.4.0-154-generic",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "codename": "xenial",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "platform": "ubuntu",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "version": "16.04.6 LTS (Xenial Xerus)",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "family": "debian"
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "name": "ba-load-001"
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "agent": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "type": "metricbeat",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "ephemeral_id": "283d7793-68dd-47ee-b9c9-c2a5f35945ed",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "hostname": "ba-load-001",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "id": "88908c75-57c7-490a-972b-fe1dbf5b4806",
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "version": "7.4.0"
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: },
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "ecs": {
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: "version": "1.1.0"
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: }
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: }
Okt 08 12:00:53 ba-load-001 metricbeat[4693]: 2019-10-08T12:00:53.192+0200 DEBUG [processors] processing/processors.go:183 Publish event: {
: