# Error module logstash with metricbeat

**URL:** <https://discuss.elastic.co/t/error-module-logstash-with-metricbeat/304831>\
**Category:** Beats\
**Tags:** elastic-stack-monitoring, beats-module, metricbeat\
**Created:** [May 16, 2022, 2:06pm UTC](https://discuss.elastic.co/t/error-module-logstash-with-metricbeat/304831 "2022-05-16T14:06:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jojodd](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jojodd](https://discuss.elastic.co/u/jojodd)\
**Post date:** [May 16, 2022, 2:06pm UTC](https://discuss.elastic.co/t/error-module-logstash-with-metricbeat/304831/1 "2022-05-16T14:06:37Z")

</div>

I don't understand why I get this error after configuring the logstash module in metricbeat.

logstash.node\_stats: json: cannot unmarshal object into Go struct field

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 17, 2022, 2:09am UTC](https://discuss.elastic.co/t/error-module-logstash-with-metricbeat/304831/2 "2022-05-17T02:09:06Z")

</div>

It'd be useful if you could share the entire log, as well as your config.

---

<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:** [June 14, 2022, 2:09am UTC](https://discuss.elastic.co/t/error-module-logstash-with-metricbeat/304831/3 "2022-06-14T02:09:30Z")

</div>

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