# Logstash std / tcp output has a duplicate entry field logentry

**URL:** <https://discuss.elastic.co/t/logstash-std-tcp-output-has-a-duplicate-entry-field-logentry/141149>\
**Category:** Logstash\
**Created:** [July 23, 2018, 11:08am UTC](https://discuss.elastic.co/t/logstash-std-tcp-output-has-a-duplicate-entry-field-logentry/141149 "2018-07-23T11:08:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![naggappan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/naggappan/32/31977_2.png) [@naggappan](https://discuss.elastic.co/u/naggappan)\
**Post date:** [July 23, 2018, 11:08am UTC](https://discuss.elastic.co/t/logstash-std-tcp-output-has-a-duplicate-entry-field-logentry/141149/1 "2018-07-23T11:08:36Z")

</div>

I use mongodb input plugin to get latest document from mongodb and send it to logstash as input, And output as STDOUT & a TCP port and in both the output I see an extra field added in my json data as "log\_entry" and it contains a duplicate set of all Key and value again.

Why is this happening or how to dissable it, My output value as below,

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 25, 2018, 7:15pm UTC](https://discuss.elastic.co/t/logstash-std-tcp-output-has-a-duplicate-entry-field-logentry/141149/2 "2018-07-25T19:15:35Z")

</div>

Please post an example event produced by Logstash along with your configuration.

---

<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:** [August 22, 2018, 7:15pm UTC](https://discuss.elastic.co/t/logstash-std-tcp-output-has-a-duplicate-entry-field-logentry/141149/3 "2018-08-22T19:15:45Z")

</div>

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