# Detected a 6.x and above cluster: the \`type\` event field won't be used to determine the document \_type {:es\_version=\>6}

**URL:** <https://discuss.elastic.co/t/detected-a-6-x-and-above-cluster-the-type-event-field-wont-be-used-to-determine-the-document-type-es-version-6/183471>\
**Category:** Logstash\
**Created:** [May 30, 2019, 6:45am UTC](https://discuss.elastic.co/t/detected-a-6-x-and-above-cluster-the-type-event-field-wont-be-used-to-determine-the-document-type-es-version-6/183471 "2019-05-30T06:45:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shruti51](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@shruti51](https://discuss.elastic.co/u/shruti51)\
**Post date:** [May 30, 2019, 6:45am UTC](https://discuss.elastic.co/t/detected-a-6-x-and-above-cluster-the-type-event-field-wont-be-used-to-determine-the-document-type-es-version-6/183471/1 "2019-05-30T06:45:22Z")

</div>

Hi,

I am trying to parse my logs via filebeat but getting the error:  
Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}.

Please suggest how to resolve this.

Filebeat configuration is :  
\> - type: log  
\>  
\> # Change to true to enable this input configuration.  
\> enabled: true  
\>  
\> # Paths that should be crawled and fetched. Glob based paths.  
\> paths:  
\> - /ABC/RT\_XYZ/_.log  
\> - /ABC/ghi/_.log  
\> fields: {log\_type: GA-SAG}

logstash is:

> input {  
> beats {  
> port =\> 5044  
> }  
> }

> filter {  
> if [fields][log\_type] == "GA-SAG" {  
> body  
> }

> output {  
> if [fields][log\_type] == "GA-SAG" {  
> elasticsearch {  
> hosts =\> ["name"]  
> manage\_template =\> false  
> user =\> logstash\_admin\_user  
> password =\> vgh  
> index =\> "sat-%{+YYYY.MM.dd}"  
> }  
> stdout {  
> codec =\> rubydebug  
> }  
> }

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 30, 2019, 9:44am UTC](https://discuss.elastic.co/t/detected-a-6-x-and-above-cluster-the-type-event-field-wont-be-used-to-determine-the-document-type-es-version-6/183471/2 "2019-05-30T09:44:56Z")

</div>

AFAIR this is not an error, it is an informational message.

---

<div class="post-metadata">

**Author:** ![shruti51](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@shruti51](https://discuss.elastic.co/u/shruti51)\
**Post date:** [June 12, 2019, 10:33am UTC](https://discuss.elastic.co/t/detected-a-6-x-and-above-cluster-the-type-event-field-wont-be-used-to-determine-the-document-type-es-version-6/183471/3 "2019-06-12T10:33:07Z")

</div>

Yes Badger.I figured it our later.

Thanks for the reply.

---

<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:** [July 10, 2019, 10:47am UTC](https://discuss.elastic.co/t/detected-a-6-x-and-above-cluster-the-type-event-field-wont-be-used-to-determine-the-document-type-es-version-6/183471/4 "2019-07-10T10:47:19Z")

</div>

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