lib/logstash/outputs/circonus.rb in logstash-output-circonus-0.1.0 vs lib/logstash/outputs/circonus.rb in logstash-output-circonus-0.1.1
- old
+ new
@@ -28,11 +28,13 @@
# `start` and `stop` will be set to `event["@timestamp"]`
# You can add any other optional annotation values as well.
# All values will be passed through `event.sprintf`
#
# Example:
+ # [source,ruby]
# ["title":"Logstash event", "description":"Logstash event for %{host}"]
# or
+ # [source,ruby]
# ["title":"Logstash event", "description":"Logstash event for %{host}", "parent_id", "1"]
config :annotation, :validate => :hash, :required => true, :default => {}
public
def register