Skip to content

Commit

Permalink
fix graylog support
Browse files Browse the repository at this point in the history
  • Loading branch information
jzwlqx committed Apr 5, 2017
1 parent 8c6fd3b commit fa10b82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apk update && apk upgrade && \
apk add ca-certificates wget && \
gem install fluentd -v "~> 0.12.0" --no-ri --no-rdoc && \
gem install fluent-plugin-elasticsearch --no-ri --no-rdoc && \
gem install gelf -v "~> 3.0.0" --no-ri --no-rdoc && \
gem install aliyun_sls_sdk -v ">=0.0.5" --no-ri --no-rdoc && \
apk del build-base ruby-dev && \
rm -rf /root/.gem
Expand Down
1 change: 1 addition & 0 deletions docker-images/config.default
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ cat >> $FLUENTD_CONFIG << EOF
@type gelf
host $GRAYLOG_HOST
port $GRAYLOG_PORT
protocol ${GRAYLOG_PROTOCOL:-udp}
flush_interval 3s
</match>
EOF
Expand Down

0 comments on commit fa10b82

Please sign in to comment.