Closed notbdu closed 7 years ago
I'm running the latest version of logstash via docker. https://www.elastic.co/guide/en/logstash/current/docker.html
I'm running it via the "host" adapter (so logstash will start a GELF listener @ localhost:12201).
Logging via docker's native gelf log adapter works. --log-driver=gelf --log-opt gelf-address=udp://localhost:12201
--log-driver=gelf --log-opt gelf-address=udp://localhost:12201
I have configured gelf_logger to send messages to "localhost:12201" and all of the :gen_udp.send()s are going through just fine.
gelf_logger
:gen_udp.send()
In fact, I can see all of the data if I listen for it via nc -ul 127.0.0.1 12201.
nc -ul 127.0.0.1 12201
However, logstash is either not receiving or dropping the messages.
I'm running the latest version of logstash via docker. https://www.elastic.co/guide/en/logstash/current/docker.html
I'm running it via the "host" adapter (so logstash will start a GELF listener @ localhost:12201).
Logging via docker's native gelf log adapter works.
--log-driver=gelf --log-opt gelf-address=udp://localhost:12201
I have configured
gelf_logger
to send messages to "localhost:12201" and all of the:gen_udp.send()
s are going through just fine.In fact, I can see all of the data if I listen for it via
nc -ul 127.0.0.1 12201
.However, logstash is either not receiving or dropping the messages.