diff --git a/lib/logstash/agent.rb b/lib/logstash/agent.rb index 9f76d8b2d..283608457 100644 --- a/lib/logstash/agent.rb +++ b/lib/logstash/agent.rb @@ -244,7 +244,7 @@ class LogStash::Agent else # Get a list of files matching a glob. If the user specified a single # file, then this will only have one match and we are still happy. - paths = Dir.glob(@config_path) + paths = Dir.glob(@config_path).sort end concatconfig = []