lib/logstash/inputs/exec.rb in logstash-input-exec-0.1.0 vs lib/logstash/inputs/exec.rb in logstash-input-exec-0.1.1
- old
+ new
@@ -5,12 +5,12 @@
# Run command line tools and capture the whole output as an event.
#
# Notes:
#
-# * The '@source' of this event will be the command run.
-# * The '@message' of this event will be the entire stdout of the command
+# * The `@source` of this event will be the command run.
+# * The `@message` of this event will be the entire stdout of the command
# as one event.
#
class LogStash::Inputs::Exec < LogStash::Inputs::Base
config_name "exec"
@@ -19,10 +19,10 @@
default :codec, "plain"
# Set this to true to enable debugging on an input.
config :debug, :validate => :boolean, :default => false, :deprecated => "This setting was never used by this plugin. It will be removed soon."
- # Command to run. For example, "uptime"
+ # Command to run. For example, `uptime`
config :command, :validate => :string, :required => true
# Interval to run the command. Value is in seconds.
config :interval, :validate => :number, :required => true