- make the default stdin input (for the -e flag) set type => stdin

No strong reason for this, just might be useful for testing.
This commit is contained in:
Jordan Sissel 2013-06-18 13:21:51 -07:00
parent e03e1f08e0
commit c427dccbf3

View file

@ -77,7 +77,7 @@ class LogStash::Agent < Clamp::Command
else
# include a default stdin input if no inputs given
if @config_string !~ /input *{/
@config_string += "input { stdin { } }"
@config_string += "input { stdin { type => stdin } }"
end
# include a default stdout output if no outputs given
if @config_string !~ /output *{/