lib/logstash/outputs/stdout.rb in logstash-output-stdout-0.1.0 vs lib/logstash/outputs/stdout.rb in logstash-output-stdout-0.1.1
- old
+ new
@@ -8,25 +8,26 @@
# data after it has passed through the inputs and filters.
#
# For example, the following output configuration, in conjunction with the
# Logstash `-e` command-line flag, will allow you to see the results
# of your event pipeline for quick iteration.
-#
+# [source,ruby]
# output {
# stdout {}
# }
#
# Useful codecs include:
#
# `rubydebug`: outputs event data using the ruby "awesome_print"
-# library[http://rubygems.org/gems/awesome_print]
+# http://rubygems.org/gems/awesome_print[library]
#
+# [source,ruby]
# output {
# stdout { codec => rubydebug }
# }
#
# `json`: outputs event data in structured JSON format
-#
+# [source,ruby]
# output {
# stdout { codec => json }
# }
#
class LogStash::Outputs::Stdout < LogStash::Outputs::Base