Skip to content

Commit

Permalink
CTRL-C Enter is OK too
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtado authored and jordansissel committed Sep 27, 2014
1 parent 26a27f2 commit ac45c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/getting-started-with-logstash.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ hello world

OK, that's interesting... We ran Logstash with an input called "stdin", and an output named "stdout", and Logstash basically echoed back whatever we typed in some sort of structured format. Note that specifying the *-e* command line flag allows Logstash to accept a configuration directly from the command line. This is especially useful for quickly testing configurations without having to edit a file between iterations.

Let's try a slightly fancier example. First, you should exit Logstash by issuing a 'CTRL-D' command in the shell in which it is running. Now run Logstash again with the following command:
Let's try a slightly fancier example. First, you should exit Logstash by issuing a 'CTRL-D' command (or 'CTRL-C Enter') in the shell in which it is running. Now run Logstash again with the following command:
----
bin/logstash -e 'input { stdin { } } output { stdout { codec => rubydebug } }'
----
Expand Down

0 comments on commit ac45c43

Please sign in to comment.