# Data not going from Logstash to Elasticsearch (7.1.1)

**URL:** <https://discuss.elastic.co/t/data-not-going-from-logstash-to-elasticsearch-7-1-1/185495>\
**Category:** Logstash\
**Created:** [June 12, 2019, 6:10pm UTC](https://discuss.elastic.co/t/data-not-going-from-logstash-to-elasticsearch-7-1-1/185495 "2019-06-12T18:10:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![topher](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@topher](https://discuss.elastic.co/u/topher)\
**Post date:** [June 12, 2019, 6:10pm UTC](https://discuss.elastic.co/t/data-not-going-from-logstash-to-elasticsearch-7-1-1/185495/1 "2019-06-12T18:10:07Z")

</div>

Since updating to 7.1.1 I have been unable to get data to Elasticsearch consistently. I posted about 429 errors the other day which seem to have gone away, but now I have no data coming into ES through Logstash. (Filebeats is still sending some stuff to ES directly.) I _DO_ see the following line in the logs which alarms me:

`[2019-06-12T14:01:27,944][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", hosts=>[http://10.226.1.94:9200/], sniffing=>false, manage_template=>false, id=>"70ec63d7c8ab7751c5ebfec8e9feab2b65659a7367c48d4dd5573acf1fe8eb6c", document_type=>"%{[@metadata][document_type]}", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_75350e7e-f0cc-4b10-8f44-f8f24e92652f", 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, ilm_enabled=>"auto", ilm_rollover_alias=>"logstash", ilm_pattern=>"{now/d}-000001", ilm_policy=>"logstash-policy", 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>}`

However, my elasticsearch output is configured very simply:

```
output {
 elasticsearch { hosts => ["10.226.1.95:9200", "10.226.1.92:9200", "10.226.1.94:9200"] }
}

```

I don't know where else it could be picking up document\_type from, or even if that might be what's stopping me. any assistance would be appreciated, and thank you in advance!

---

<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:** [June 12, 2019, 6:39pm UTC](https://discuss.elastic.co/t/data-not-going-from-logstash-to-elasticsearch-7-1-1/185495/2 "2019-06-12T18:39:34Z")

</div>

> [@topher](#):
>
> I don't know where else it could be picking up document\_type from

If you have x-pack monitoring enabled then you will get this. It would be up to the elastic team fix it. There are multiple issues open for it. [This](https://github.com/elastic/logstash/issues/10352) one , for example.

---

<div class="post-metadata">

**Author:** ![topher](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@topher](https://discuss.elastic.co/u/topher)\
**Post date:** [June 12, 2019, 6:41pm UTC](https://discuss.elastic.co/t/data-not-going-from-logstash-to-elasticsearch-7-1-1/185495/3 "2019-06-12T18:41:26Z")

</div>

> [@Badger](#):
>
> If you have x-pack monitoring enabled then you will get this. It would be up to the elastic team fix it. There are multiple issues open for it. [This](https://github.com/elastic/logstash/issues/10352) one , for example.

While that's good news in as much as it's not just me missing something obvious, I'm still short a rationale explanation why I'm not seeing data in ES from logstash. I'll try to find other errors that might be more elucidating, thanks for the reply!

---

<div class="post-metadata">

**Author:** ![topher](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@topher](https://discuss.elastic.co/u/topher)\
**Post date:** [June 12, 2019, 6:54pm UTC](https://discuss.elastic.co/t/data-not-going-from-logstash-to-elasticsearch-7-1-1/185495/4 "2019-06-12T18:54:34Z")

</div>

@#$^@#^

OK, when I first noticed the problem, one of the first things I did was to restart the logstash server. Since then, I've been just restarting the logstash service. On a lark, and grasping for straws, I decided to go ahead and restart the entire server again.

Wouldn't you know, ES is getting data again. _sigh_

Anyrate, just thought I'd share. Thank you again, Badger, for your quick response earlier!

---

<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, 6:54pm UTC](https://discuss.elastic.co/t/data-not-going-from-logstash-to-elasticsearch-7-1-1/185495/5 "2019-07-10T18:54:39Z")

</div>

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