commit | b995914fb259b66a26d996783ebeb17f1b84ee12 | [log] [tgz] |
---|---|---|
author | Tony Mack <tony.mack@gmail.com> | Sat Mar 12 14:13:24 2016 +0000 |
committer | Tony Mack <tony.mack@gmail.com> | Sat Mar 12 14:13:24 2016 +0000 |
tree | 21a71651183d5831d185ea244bdfd01292fb3f5d | |
parent | b1904148b72a9f2425a484dd671fbd189192770e [diff] [blame] |
initial checkin
diff --git a/containers/elk/logstash-forwarder/run_logstash-forwarder b/containers/elk/logstash-forwarder/run_logstash-forwarder new file mode 100644 index 0000000..e97edc4 --- /dev/null +++ b/containers/elk/logstash-forwarder/run_logstash-forwarder
@@ -0,0 +1,5 @@ +#!/bin/bash + +sed -i "s/logstash:5043/${LOGSTASH_HOST}:5043/g" /opt/logstash-forwarder/config.json + +/usr/bin/supervisord -c /etc/supervisor/conf.d/logstash-forwarder.conf