Permalink
Browse files

Specify a directory instead of a file for the logstash configuration

  • Loading branch information...
1 parent 8d0af0a commit 8a0d1fdd0b24c7035838d3f9899494e71daaa45f @Ovski4 Ovski4 committed Mar 9, 2015
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 etc/supervisor/conf.d/logstash.conf
View
@@ -20,7 +20,7 @@ $ docker run -p 8080:80 \
Then, browse: [http://localhost:8080](http://localhost:8080) (replace
`localhost` with your public IP address).
-Your logstash configuration directory MUST contain a `logstash.conf` file.
+Your logstash configuration directory MUST contain at least one logstash configuration file. If several files are found in the configuration directory, logstash will use all of them, concatenated in lexicographical order, as the configuration.
### Fig Configuration
@@ -1,4 +1,4 @@
[program:logstash]
-command=/opt/logstash/bin/logstash agent -f /etc/logstash/logstash.conf
+command=/opt/logstash/bin/logstash agent -f /etc/logstash/
stdout_logfile=/var/log/logstash/stdout.log
redirect_stderr=true

0 comments on commit 8a0d1fd

Please sign in to comment.