class Fluent::DashingOutput
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_dashing.rb, line 7 def initialize super end
Public Instance Methods
configure(conf)
click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_dashing.rb, line 16 def configure(conf) super end
emit(tag, es, chain)
click to toggle source
# File lib/fluent/plugin/out_dashing.rb, line 31 def emit(tag, es, chain) es.each {|time,record| next unless value = record[@name_key] body = {} body[:auth_token] = @auth_token body[@event_json_data_key] = value.to_s HTTParty.post(@dashing_url, :body => body.to_json) } chain.next end
shutdown()
click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_dashing.rb, line 26 def shutdown super end
start()
click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_dashing.rb, line 21 def start super end