# Logstash 7.2 monitoring uses deprecated config and unsafe options

**URL:** <https://discuss.elastic.co/t/logstash-7-2-monitoring-uses-deprecated-config-and-unsafe-options/207708>\
**Category:** Logstash\
**Created:** [November 13, 2019, 1:11pm UTC](https://discuss.elastic.co/t/logstash-7-2-monitoring-uses-deprecated-config-and-unsafe-options/207708 "2019-11-13T13:11:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YvorL](https://avatars.discourse-cdn.com/v4/letter/y/9fc348/32.png) [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Post date:** [November 13, 2019, 1:11pm UTC](https://discuss.elastic.co/t/logstash-7-2-monitoring-uses-deprecated-config-and-unsafe-options/207708/1 "2019-11-13T13:11:30Z")

</div>

Hi!

I've set up an ES cluster (all parts are 7.2.x) and without any custom configuration I'm already getting errors from the built-in monitoring process:

> [WARN][logstash.outputs.elasticsearch] You are using a deprecated config setting "document\_type" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Document types are being deprecated in Elasticsearch 6.0, and removed entirely in 7.0. You should avoid this feature If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=\>"document\_type", :plugin=\>\<LogStash::Outputs::Elasticsearch bulk\_path=\>"/\_monitoring/bulk?system\_id=logstash&system\_api\_version=7&interval=1s", ssl\_certificate\_verification=\>false, password=\>, hosts=\>..

and

> [WARN][logstash.outputs.elasticsearch] \*\* WARNING \*\* Detected UNSAFE options in elasticsearch output configuration!  
> \*\* WARNING \*\* You have enabled encryption but DISABLED certificate verification.  
> \*\* WARNING \*\* To make sure your data is secure change :ssl\_certificate\_verification to true

How can I solve these? I don't want to meddle with core files 'cause it can cause issues later. Somewhere I read that this will be solved after 7+, but here it is ☹

Thanks!

---

<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:** [December 11, 2019, 1:11pm UTC](https://discuss.elastic.co/t/logstash-7-2-monitoring-uses-deprecated-config-and-unsafe-options/207708/2 "2019-12-11T13:11:34Z")

</div>

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