Skip to content

Commit

Permalink
Correct hash syntax for metrics config doc
Browse files Browse the repository at this point in the history
Reported in elastic/logstash#2902

Fixes #11
  • Loading branch information
wiibaa authored and jordansissel committed Apr 9, 2015
1 parent 0d5fcf4 commit e4e7051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/outputs/graphite.rb
Expand Up @@ -33,7 +33,7 @@ class LogStash::Outputs::Graphite < LogStash::Outputs::Base
# for metric names and also for values. This is a hash field with key
# being the metric name, value being the metric value. Example:
# [source,ruby]
# [ "%{host}/uptime", "%{uptime_1m}" ]
# metrics => { "%{host}/uptime" => "%{uptime_1m}" }
#
# The value will be coerced to a floating point value. Values which cannot be
# coerced will be set to zero (0). You may use either `metrics` or `fields_are_metrics`,
Expand Down

0 comments on commit e4e7051

Please sign in to comment.