# Latest LS X-Pack still using a deprecated feature

**URL:** <https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866>\
**Category:** Elasticsearch\
**Created:** [April 20, 2018, 11:38am UTC](https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866 "2018-04-20T11:38:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mojster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mojster/32/21209_2.png) [@Mojster](https://discuss.elastic.co/u/Mojster)\
**Post date:** [April 20, 2018, 11:38am UTC](https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866/1 "2018-04-20T11:38:38Z")

</div>

LS & X-Pack are home based product. So why are they still using deprecated feature in 6.2.4?

```auto
[2018-04-20T13:32:52,331][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 hosts=>[http://localhost:9200], bulk_path=>"/_xpack/monitoring/_bulk?system_id=logstash&system_api_version=2&interval=1s", manage_template=>false, document_type=>"%{[@metadata][document_type]}", sniffing=>false, id=>"8e126056909147d749c2e21d4df5a526c2b41da050e1288d2a23c33a59fd672b", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_433d10d3-7093-4e17-800a-8db8cedb07c0", enable_metric=>true, charset=>"UTF-8">, workers=>1, template_name=>"logstash", template_overwrite=>false, doc_as_upsert=>false, script_type=>"inline", script_lang=>"painless", script_var_name=>"event", scripted_upsert=>false, retry_initial_interval=>2, retry_max_interval=>64, retry_on_conflict=>1, action=>"index", ssl_certificate_verification=>true, sniffing_delay=>5, timeout=>60, pool_max=>1000, pool_max_per_route=>100, resurrect_delay=>5, validate_after_inactivity=>10000, http_compression=>false>}

```

Here's a post about it, but it newer receive an answer:  
Continuing the discussion from [Logstash X-Pack is using deprecated feature](https://discuss.elastic.co/t/logstash-x-pack-is-using-deprecated-feature/108304):

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [April 20, 2018, 11:51am UTC](https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866/2 "2018-04-20T11:51:30Z")

</div>

Hi,

This is just WARN logging. This is so you are made aware in the next major it will be completely removed.

---

<div class="post-metadata">

**Author:** ![Mojster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mojster/32/21209_2.png) [@Mojster](https://discuss.elastic.co/u/Mojster)\
**Post date:** [April 20, 2018, 12:14pm UTC](https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866/3 "2018-04-20T12:14:49Z")

</div>

Thanks for the explanation, but **I know** what `deprecated` means.

And this was not my question. My question was, how that this has not been fixed, because 6.x.x. is there for some time already.

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [April 20, 2018, 3:19pm UTC](https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866/4 "2018-04-20T15:19:11Z")

</div>

Document type is deprecated but not completely removed. It will be removed in the next release.  
This is not something to be immediately fixed, this gives space and time for users to migrate.

---

<div class="post-metadata">

**Author:** ![Mojster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mojster/32/21209_2.png) [@Mojster](https://discuss.elastic.co/u/Mojster)\
**Post date:** [April 20, 2018, 6:05pm UTC](https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866/5 "2018-04-20T18:05:33Z")

</div>

Again I agree.  
But that's for users, and X-Pack is from same vendor as ES and not some user.

I'm just unhappy because this is a deprecation warning, that I cannot fix.

But ok, lets not go further or we will dig to deep. 🙂

---

<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:** [May 18, 2018, 6:05pm UTC](https://discuss.elastic.co/t/latest-ls-x-pack-still-using-a-deprecated-feature/128866/6 "2018-05-18T18:05:35Z")

</div>

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