# \[Metricbeat\] uwsgi unexpected end of JSON input

**URL:** <https://discuss.elastic.co/t/metricbeat-uwsgi-unexpected-end-of-json-input/157311>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 19, 2018, 9:16am UTC](https://discuss.elastic.co/t/metricbeat-uwsgi-unexpected-end-of-json-input/157311 "2018-11-19T09:16:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gennady\_Karev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gennady_karev/32/37805_2.png) [@Gennady\_Karev](https://discuss.elastic.co/u/Gennady_Karev)\
**Post date:** [November 19, 2018, 9:16am UTC](https://discuss.elastic.co/t/metricbeat-uwsgi-unexpected-end-of-json-input/157311/1 "2018-11-19T09:16:08Z")

</div>

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"]
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 17, 2018, 11:16am UTC](https://discuss.elastic.co/t/metricbeat-uwsgi-unexpected-end-of-json-input/157311/2 "2018-12-17T11:16:08Z")

</div>

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