My conf file has a es ip address that can't be compiled correctly

my file's address

input {
log4j {
host => "192.168.22.75"
port => 4560
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch{
hosts => [ "192.168.22.95:9200"]
index => "log4j-%{+YYYY.MM.dd}"
}
}

and the console's tip is

Unable to retrieve license information from license server {:message=>"No Available connections", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError"}
[2018-03-22T21:31:04,840][WARN ][logstash.licensechecker.xpackinfo] Nil response from License Server
[2018-03-22T21:31:05,071][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}
[2018-03-22T21:31:05,076][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] 拒绝连接"}
[2018-03-22T21:31:05,310][INFO ][logstash.licensechecker.licensereader] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}
[2018-03-22T21:31:05,314][WARN ][logstash.licensechecker.licensereader] 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] 拒绝连接"}

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