Skip to content

Commit

Permalink
Modified Dockerfile
Browse files Browse the repository at this point in the history
Dockerfile will now copy all .conf files in logstash-conf into logstash config directory.
This is to ease configuration changes, as it is now only necessary to place conf files in that directory and rebuild the image, instead of modifying the Dockerfile to ADD the file
  • Loading branch information
redsoxfantom committed Jul 6, 2019
1 parent 1c8b13e commit c5c8e6e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,7 @@ ADD ./logstash-beats.key /etc/pki/tls/private/logstash-beats.key
ADD pipelines.yml ${LOGSTASH_PATH_SETTINGS}/pipelines.yml

# filters
ADD ./02-beats-input.conf ${LOGSTASH_PATH_CONF}/conf.d/02-beats-input.conf
ADD ./10-syslog.conf ${LOGSTASH_PATH_CONF}/conf.d/10-syslog.conf
ADD ./11-nginx.conf ${LOGSTASH_PATH_CONF}/conf.d/11-nginx.conf
ADD ./30-output.conf ${LOGSTASH_PATH_CONF}/conf.d/30-output.conf
ADD ./logstash-conf/*.conf ${LOGSTASH_PATH_CONF}/conf.d/

# patterns
ADD ./nginx.pattern ${LOGSTASH_HOME}/patterns/nginx
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c5c8e6e

Please sign in to comment.