output {
elasticsearch {
hosts => ["192.168.1.1", "192.168.1.2"]
}
if "prod" in [tags] {
udp {
host => "192.168.1.3"
port => 6177
}
}
}
logstash works ~10-15 min and silently stops without any error messages in logs.
CPU spikes up to 50-60% before failure.
Single elasticsearch output is working fine.
It seems that this version doesn't have logstash.yml by default.
The box has 8Gb RAM and 4Gb for JVM heap -Xmx4g
Unfortunately, this is a production system, and I'm limited in experimenting with debugging options. And the problem is not reproducible in dev.
But I'll try to play with worker settings from your link, thank you.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.