mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- 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:
parent
e03e1f08e0
commit
c427dccbf3
1 changed files with 1 additions and 1 deletions
|
@ -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 *{/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue