0

I have multiple EC2 instances running Logstash and Elasticsearch.

I'd like to output everything into ES cluster.

output {
        stdout { debug => true debug_format => "json" }
        elasticsearch {
                cluster => "elasticsearch"
        }
}

No data is sent to the cluster. I also tried to add bind_host that point to 127.0.0.1 where I have a locally installed Elasticsearch installed. Nothing.

Only option that seems to works is "host". But if the local instance of ES crash, I lost my logs.

How do I output it to a cluster, so it figures out by itself who is the master ?

EEAA
  • 109,363
  • 18
  • 175
  • 245
Bastien974
  • 1,896
  • 12
  • 44
  • 62

0 Answers0