Last active
March 4, 2016 11:26
-
-
Save davemac30/7a12cda7e7b7d6d7a69d to your computer and use it in GitHub Desktop.
demonstrate broken tcp server output behaviour in logstash 2.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# demonstrate broken tcp server output behaviour in logstash 2.2 | |
# | |
FROM docker.io/oracle/openjdk | |
RUN echo -e '[logstash-2.2]\nname=Logstash repository for 2.2.x packages\nbaseurl=http://packages.elastic.co/logstash/2.2/centos\ngpgcheck=0\nenabled=1' > /etc/yum.repos.d/logstash.repo | |
RUN yum -y install logstash | |
RUN echo 'output { tcp { port => 1444 host => "0.0.0.0" mode => server } }' > /etc/logstash/conf.d/output_tcp.conf | |
CMD /opt/logstash/bin/logstash -f /etc/logstash/conf.d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment