# Is @version filed created by Elasticsearch or Logstash?

**URL:** <https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599>\
**Category:** Elasticsearch\
**Created:** [December 29, 2017, 2:50pm UTC](https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599 "2017-12-29T14:50:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [December 29, 2017, 2:50pm UTC](https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599/1 "2017-12-29T14:50:36Z")

</div>

Hello all,

I'm trying to fix as many issues I can in my Elastic Stack setup before upgrading to version 6. One thing I would like to sort out are conflicting Index Patterns.

In one of my clusters I have a conflict for `@version` where both _string_ and _number_ are used. In my production cluster there is no conflict and the type is _string_ which I find a bit surprising...

Anyway, I use Elastic Stack for classic log shipping and analysing. Version 5.6.5 if that makes a difference.

1. First off I'd like to know where the `@version` field comes from. Is it aded by Elasticsearch or some other part of the stack, like Logstash?

2. Specific log documents are not updated and thus not versioned so I don't see how I would ever have any use of the `@version` filed. Is it possible to drop that field somehow?

All suggestions and comments are welcome 🙂

Cheers,  
AB

---

<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:** [December 29, 2017, 7:16pm UTC](https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599/2 "2017-12-29T19:16:33Z")

</div>

It's a Logstash thing. You can drop if it you want, yes.

---

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [January 2, 2018, 8:58am UTC](https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599/3 "2018-01-02T08:58:10Z")

</div>

Hi @warkolm,  
thanks for the info 🙂

---

<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:** [January 30, 2018, 8:59am UTC](https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599/4 "2018-01-30T08:59:19Z")

</div>

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