Logstash connection refused (using searchguard + monitoring x pack)

(kim) #1

hello everyone ,

i am using elk stack via docker , for security access i use searchguard tool , then for monitor my stack i added x pack plugin with making security and other service that not free as false

( xpack.monitoring.enabled: true
xpack.graph.enabled: false
xpack.ml.enabled: false
xpack.security.enabled: false
xpack.watcher.enabled: false
in elasticseach.yml and kibana.yml )
so i could monitor kibana and ES and all okay for this part , but when i would added logstash to monitor i got an error and logstash wont start

logstash_1 | [2018-06-14T08:42:23,746][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://localhost:9200/][Manticore::SocketException] Connection refused (Connection refused)"}

elasticsearch_1 | [2018-06-14T08:42:24,727][WARN ][c.f.s.a.BackendRegistry ] Authentication finally failed for logstash

i dont know why the problem does not appear with kibana and ES but it did with logstash

can someone help me please

thank you

(Ioannis Kakavas) #2

Looks like this has to do with searchguard, you will be probably better off posting in https://github.com/floragunncom/search-guard after you consult the plugins documentation.

(system) #3

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