forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add support for agent '-e' flag - lets you specify a configuration
in a simple string. If no inputs are specified, it assumes: stdin { type => stdin } If no outputs are specified, it assumes: stdout { debug => true } Any given filters default with 'type => stdin' unless otherwise specified. https://logstash.jira.com/browse/LOGSTASH-105
- Loading branch information
1 parent
e16f12b
commit 583ed2b
Showing
5 changed files
with
48 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,4 @@ if ARGV[0] =~ /^-/ | |
ARGV.unshift("agent") | ||
end | ||
|
||
p :bin => ARGV | ||
LogStash::Runner.new.main(ARGV) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ def main(args) | |
|
||
@runners = [] | ||
while !args.empty? | ||
p :args => args | ||
#p :args => args | ||
args = run(args) | ||
end | ||
|
||
|