Class: Fluent::Plugin::OsqueryInput

Inherits:
Input
  • Object
show all
Defined in:
lib/fluent/plugin/in_jmx.rb

Instance Method Summary collapse

Constructor Details

#initializeOsqueryInput

Returns a new instance of OsqueryInput.



21
22
23
24
25
# File 'lib/fluent/plugin/in_jmx.rb', line 21

def initialize
  super
  require 'net/http'
  require 'uri'
end

Instance Method Details

#configure(conf) ⇒ Object



27
28
29
# File 'lib/fluent/plugin/in_jmx.rb', line 27

def configure(conf)
  super
end

#shutdownObject



36
37
38
# File 'lib/fluent/plugin/in_jmx.rb', line 36

def shutdown
  super
end

#startObject



31
32
33
34
# File 'lib/fluent/plugin/in_jmx.rb', line 31

def start
  super
  timer_execute(:in_jmx, interval, &method(:execute))
end