From 16a8b2188572d97bb131be7ba8d67265714a3a7e Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 9 Feb 2018 16:36:39 -0500 Subject: [PATCH] LS salt module - Fix port bindings --- salt/logstash/files/custom/Drop.Your.Custom.Parsers.Here.conf | 1 + salt/logstash/init.sls | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/salt/logstash/files/custom/Drop.Your.Custom.Parsers.Here.conf b/salt/logstash/files/custom/Drop.Your.Custom.Parsers.Here.conf index e69de29bb..792d60054 100644 --- a/salt/logstash/files/custom/Drop.Your.Custom.Parsers.Here.conf +++ b/salt/logstash/files/custom/Drop.Your.Custom.Parsers.Here.conf @@ -0,0 +1 @@ +# diff --git a/salt/logstash/init.sls b/salt/logstash/init.sls index ebb92a8a6..3eb462812 100644 --- a/salt/logstash/init.sls +++ b/salt/logstash/init.sls @@ -78,12 +78,12 @@ so-logstash: - environment: - LS_JAVA_OPTS=-Xms{{ lsheap }} -Xmx{{ lsheap }} - port_bindings: - - 0.0.0.0:5044:5044 + - 127.0.0.1:5044:5044 - 127.0.0.1:6050:6050 - 127.0.0.1:6051:6051 - 127.0.0.1:6052:6052 - 127.0.0.1:6053:6053 - - 0.0.0.0:9600:9600 + - 127.0.0.1:9600:9600 - binds: - /opt/so/conf/logstash/log4j2.properties:/usr/share/logstash/config/log4j2.properties:ro - /opt/so/conf/logstash/logstash.yml:/usr/share/logstash/config/logstash.yml:ro