# Warning in Logstash Log

**URL:** https://discuss.elastic.co/t/warning-in-logstash-log/202345
**Category:** Logstash
**Created:** [October 4, 2019, 12:59pm UTC](https://discuss.elastic.co/t/warning-in-logstash-log/202345 "2019-10-04T12:59:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![as50790](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/as50790/32/55092_2.png) [@as50790](https://discuss.elastic.co/u/as50790)
#### Post date: [October 4, 2019, 12:59pm UTC](https://discuss.elastic.co/t/warning-in-logstash-log/202345/1 "2019-10-04T12:59:11Z")

</div>

Hi,

Could you please help me figuring out how to get rid of these deprecation warnings?

I have used ELK version(7.3.1).  
Elasticsearch Version: 7.3.1  
Logstash Version :7.3.1  
Kibana Version :7.3.1

[71][2019-10-04T05:24:57,048][WARN][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>7}

Why this warning occurred in logstash logs.

---

<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: [October 4, 2019, 1:04pm UTC](https://discuss.elastic.co/t/warning-in-logstash-log/202345/2 "2019-10-04T13:04:13Z")

</div>

It is part of the [removal](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html) of mapping types. If you are not setting the type field and expecting to the determine \_type in elasticsearch then you can ignore it.

---

<div class="post-metadata">

### Author: ![as50790](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/as50790/32/55092_2.png) [@as50790](https://discuss.elastic.co/u/as50790)
#### Post date: [October 4, 2019, 1:18pm UTC](https://discuss.elastic.co/t/warning-in-logstash-log/202345/3 "2019-10-04T13:18:36Z")

</div>

Hi @Badger,

Thanks for quick reply basically I can't setting type filed but in kibana dashboards for metricbeat index pattern I can see Field type (attached screenshot might be helpful) .

My logstash output.elasticsearch configuration is:  
output {  
elasticsearch {  
hosts =\> ["127.0.0.1:9200"]  
manage\_template =\> false  
index =\> "%{[event\_type]}-7.3.1-%{[agent][hostname]}-%{+YYYY.ww}"  
id =\> "metricbeat\_4"  
}  
}

where event\_type is metricbeat index pattern.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/9/197e5c4f3941cc975c6688adf3b3e995a853d124.png)

---

<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: [October 4, 2019, 1:21pm UTC](https://discuss.elastic.co/t/warning-in-logstash-log/202345/4 "2019-10-04T13:21:39Z")

</div>

Then I think you can ignore the error.

---

<div class="post-metadata">

### Author: ![as50790](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/as50790/32/55092_2.png) [@as50790](https://discuss.elastic.co/u/as50790)
#### Post date: [October 4, 2019, 1:22pm UTC](https://discuss.elastic.co/t/warning-in-logstash-log/202345/5 "2019-10-04T13:22:35Z")

</div>

Thanks a lot

---

<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: [November 1, 2019, 1:22pm UTC](https://discuss.elastic.co/t/warning-in-logstash-log/202345/6 "2019-11-01T13:22:43Z")

</div>

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