[Metricbeat] uwsgi unexpected end of JSON input


(Gennady Karev) #1

Hi there, after configuring uwsig module, Ive got errors

2018-11-19T09:15:20.299Z        ERROR   status/data.go:65       uwsgi statistics parsing failed with error: %!(EXTRA *json.SyntaxError=unexpected end of JSON input)
2018-11-19T09:15:20.299Z        DEBUG   [publish]       pipeline/processor.go:291       Publish event: {
  "@timestamp": "2018-11-19T09:15:16.289Z",
  "@metadata": {
    "beat": "metricbeat",
    "type": "doc",
    "version": "6.3.2"
  },
  "host": {
    "name": "717bd8603af9"
  },
  "metricset": {
    "rtt": 4009663,
    "name": "status",
    "module": "uwsgi",
    "host": "10.7.0.155:1717"
  },
  "error": {
    "message": "unexpected end of JSON input"
  },
  "beat": {
    "name": "717bd8603af9",
    "hostname": "717bd8603af9",
    "version": "6.3.2"
  }
}

Module config

- module: uwsgi
  metricsets: ["status"]
  enable: true
  period: 10s
  hosts: ["tcp://10.7.0.155:1717"]