# Sniffing paramter from elasticsearch plugin does not work with ES 5.0

**URL:** <https://discuss.elastic.co/t/sniffing-paramter-from-elasticsearch-plugin-does-not-work-with-es-5-0/67022>\
**Category:** Logstash\
**Created:** [November 23, 2016, 5:42pm UTC](https://discuss.elastic.co/t/sniffing-paramter-from-elasticsearch-plugin-does-not-work-with-es-5-0/67022 "2016-11-23T17:42:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Musashisan](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@Musashisan](https://discuss.elastic.co/u/Musashisan)\
**Post date:** [November 23, 2016, 5:42pm UTC](https://discuss.elastic.co/t/sniffing-paramter-from-elasticsearch-plugin-does-not-work-with-es-5-0/67022/1 "2016-11-23T17:42:12Z")

</div>

Sniffing is not working becose the plugin is looking for a field http\_address from \_nodes that does not exists anymore in ES 5.0.0

Related issue in ES 5:

> <https://github.com/elastic/elasticsearch/issues/21292>

  

> <https://github.com/elastic/elasticsearch/pull/19218>

According to the code file ([https://github.com/logstash-plugins/logstash-output-elasticsearch/blob/master/lib/logstash/outputs/elasticsearch/http\_client/pool.rb](https://github.com/logstash-plugins/logstash-output-elasticsearch/blob/master/lib/logstash/outputs/elasticsearch/http_client/pool.rb)) its looking for the field 'http\_address' from the http respond\_nodes ([http://myelastic:9200/\_nodes](http://myelastic:9200/_nodes))

That field was removed and they are proposing to obtain the address from \_nodes/http, fields http.bound\_address

```
 def check_sniff
  url, resp = perform_request(:get, '_nodes')
  parsed = LogStash::Json.load(resp.body)
  parsed['nodes'].map do |id,info|
    # TODO Make sure this works with shield. Does that listed
    # stuff as 'https_address?'
    addr_str = info['http_address'].to_s
    next unless addr_str # Skip hosts with HTTP disabled

```

Looking for issues at github, i can not find anything related to this....

---

<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 21, 2016, 5:43pm UTC](https://discuss.elastic.co/t/sniffing-paramter-from-elasticsearch-plugin-does-not-work-with-es-5-0/67022/2 "2016-12-21T17:43:08Z")

</div>

Closed on December 21, 2016, 5:43pm UTC

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