Logstash in docker start failed

(赵振华) #1

Hello, everyone
I use logstash with custom docker image following this doc: https://www.elastic.co/guide/en/logstash/current/docker.html.
I only change content of pipeline config as follow:

input {
redis {
batch_count => 1
data_type => "list"
key => "logstash-list"
host => ""
port => 6380
threads => 5
codec => "plain"

output {
stdout {}

But I got the following error:
[2017-05-03T04:21:28,028][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://logstash_system:xxxxxx@localhost:9200/, :path=>"/"}
[2017-05-03T04:21:28,199][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>#<URI::HTTP:0x26f289c URL:http://logstash_system:xxxxxx@localhost:9200/_xpack/monitoring/?system_id=logstash&system_api_version=2&interval=1s>, :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://logstash_system:xxxxxx@localhost:9200/][Manticore::SocketException] Connection refused (Connection refused)"}

I didn't config output with elastic search. I'll appreciate if anyone can help me out, thanks

Field reference failed in logstash-input-redis
(system) #2

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