Dear Alex,
As you also can see in the logs i don't have any stats information, i'm wondering what is causing the isue.
Log1:
2019-05-22T07:35:35.910Z DEBUG [publish] pipeline/processor.go:309 Publish event: {
22/05/2019 09:35:35 "@timestamp": "2019-05-22T07:35:35.906Z",
22/05/2019 09:35:35 "@metadata": {
22/05/2019 09:35:35 "beat": "metricbeat",
22/05/2019 09:35:35 "type": "doc",
22/05/2019 09:35:35 "version": "6.7.1"
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "event": {
22/05/2019 09:35:35 "dataset": "haproxy.stat",
22/05/2019 09:35:35 "duration": 3731983
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "haproxy": {
22/05/2019 09:35:35 "stat": {
22/05/2019 09:35:35 "queue": {},
22/05/2019 09:35:35 "service_name": "",
22/05/2019 09:35:35 "server": {},
22/05/2019 09:35:35 "request": {
22/05/2019 09:35:35 "rate": {}
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "session": {
22/05/2019 09:35:35 "rate": {}
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "compressor": {},
22/05/2019 09:35:35 "status": "",
22/05/2019 09:35:35 "response": {
22/05/2019 09:35:35 "http": {}
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "proxy": {
22/05/2019 09:35:35 "name": ""
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "check": {
22/05/2019 09:35:35 "status": "",
22/05/2019 09:35:35 "health.last": "",
22/05/2019 09:35:35 "agent.last": ""
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "connection": {}
22/05/2019 09:35:35 }
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "fields": {
22/05/2019 09:35:35 "env": "TESTENV"
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "beat": {
22/05/2019 09:35:35 "hostname": "monitoring-metricbeat-2",
22/05/2019 09:35:35 "version": "6.7.1",
22/05/2019 09:35:35 "name": "OPSFINAL_NODE1"
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "host": {
22/05/2019 09:35:35 "name": "OPSFINAL_NODE1"
22/05/2019 09:35:35 },
22/05/2019 09:35:35 "metricset": {
22/05/2019 09:35:35 "module": "haproxy",
22/05/2019 09:35:35 "host": "avio-lb-base:14567",
22/05/2019 09:35:35 "rtt": 3731,
22/05/2019 09:35:35 "name": "stat"
22/05/2019 09:35:35 }
22/05/2019 09:35:35}
Log2:
22/05/2019 09:45:202019-05-22T07:45:20.654Z DEBUG [publish] pipeline/processor.go:309 Publish event: {
22/05/2019 09:45:20 "@timestamp": "2019-05-22T07:45:20.651Z",
22/05/2019 09:45:20 "@metadata": {
22/05/2019 09:45:20 "beat": "metricbeat",
22/05/2019 09:45:20 "type": "doc",
22/05/2019 09:45:20 "version": "6.7.1"
22/05/2019 09:45:20 },
22/05/2019 09:45:20 "beat": {
22/05/2019 09:45:20 "name": "OPSFINAL_NODE1",
22/05/2019 09:45:20 "hostname": "monitoring-metricbeat-2",
22/05/2019 09:45:20 "version": "6.7.1"
22/05/2019 09:45:20 },
22/05/2019 09:45:20 "host": {
22/05/2019 09:45:20 "name": "OPSFINAL_NODE1"
22/05/2019 09:45:20 },
22/05/2019 09:45:20 "event": {
22/05/2019 09:45:20 "dataset": "haproxy.info",
22/05/2019 09:45:20 "duration": 2304259
22/05/2019 09:45:20 },
22/05/2019 09:45:20 "error": {
22/05/2019 09:45:20 "message": "strconv.ParseFloat: parsing \"\": invalid syntax"
22/05/2019 09:45:20 },
22/05/2019 09:45:20 "metricset": {
22/05/2019 09:45:20 "name": "info",
22/05/2019 09:45:20 "module": "haproxy",
22/05/2019 09:45:20 "host": "avio-lb-base:14567",
22/05/2019 09:45:20 "rtt": 2304
22/05/2019 09:45:20 },
22/05/2019 09:45:20 "fields": {
22/05/2019 09:45:20 "env": "TESTENV"
22/05/2019 09:45:20 }
22/05/2019 09:45:20}
22/05/2019 09:45:212019-05-22T07:45:21.686Z DEBUG [elasticsearch] elasticsearch/client.go:337 PublishEvents: 1 events have been published to elasticsearch in 31.93157ms.
22/05/2019 09:45:212019-05-22T07:45:21.686Z DEBUG [publisher] memqueue/ackloop.go:160 ackloop: receive ack [178: 0, 1]
22/05/2019 09:45:212019-05-22T07:45:21.686Z DEBUG [publisher] memqueue/eventloop.go:535 broker ACK events: count=1, start-seq=624, end-seq=624
22/05/2019 09:45:21