# Unable to send data to ES 6.0 using Logstash 6.0

**URL:** <https://discuss.elastic.co/t/unable-to-send-data-to-es-6-0-using-logstash-6-0/109977>\
**Category:** Logstash\
**Created:** [December 1, 2017, 7:14pm UTC](https://discuss.elastic.co/t/unable-to-send-data-to-es-6-0-using-logstash-6-0/109977 "2017-12-01T19:14:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pratiksha\_Tewary](https://avatars.discourse-cdn.com/v4/letter/p/a88e4f/32.png) [@Pratiksha\_Tewary](https://discuss.elastic.co/u/Pratiksha_Tewary)\
**Post date:** [December 1, 2017, 7:14pm UTC](https://discuss.elastic.co/t/unable-to-send-data-to-es-6-0-using-logstash-6-0/109977/1 "2017-12-01T19:14:27Z")

</div>

Hi,

I wanted to know if there have been any changes to the Logstash configuration process from the previous versions. I created a mapping in ES 6.0 and wanted to send data to it using Logstash. So, my pipeline was as follows:

File -\> Logstash -\> Elasticsearch

However, when I try to run my Logstash config file, it prints the following message to Powershell console:

```
[2017-12-01T11:22:18,272][INFO][logstash.inputs.metrics] Monitoring License OK
[2017-12-01T11:22:18,326][ERROR][logstash.inputs.metrics] Failed to create monitoring event {:message=>"undefined method `ephemeral_id' for nil:NilClass", :error=>"NoMethodError"}
[2017-12-01T11:22:19,117][INFO][logstash.pipeline] Pipeline started {"pipeline.id"=>"main"}
[2017-12-01T11:22:19,137][INFO][logstash.agent] Pipelines running {:count=>2, :pipelines=>[".monitoring-logstash", "main"]}
[2017-12-01T11:22:22,671][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}
[2017-12-01T11:22:22,687][WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticS
earch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/'"}
[2017-12-01T11:22:27,740][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}
[2017-12-01T11:22:27,740][WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticS
earch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/'"}
[2017-12-01T11:22:32,797][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}

```

My Elasticsearch instance is running absolutely fine but the error says that the instance is dead.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 5, 2017, 7:32am UTC](https://discuss.elastic.co/t/unable-to-send-data-to-es-6-0-using-logstash-6-0/109977/2 "2017-12-05T07:32:42Z")

</div>

The error message indicates that ES requires you to authenticate yet Logstash hasn't been configured to supply any credentials.

---

<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:** [January 2, 2018, 7:32am UTC](https://discuss.elastic.co/t/unable-to-send-data-to-es-6-0-using-logstash-6-0/109977/3 "2018-01-02T07:32:54Z")

</div>

Closed on January 2, 2018, 7:32am UTC

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