class GraylogAPI::System
class for manage system
Public Class Methods
new(client)
click to toggle source
# File lib/graylogapi/system.rb, line 8 def initialize(client) @client = client end
Public Instance Methods
cluster()
click to toggle source
# File lib/graylogapi/system.rb, line 35 def cluster @cluster ||= Cluster.new(@client) end
index_sets()
click to toggle source
# File lib/graylogapi/system.rb, line 31 def index_sets @index_sets ||= IndexSets.new(@client) end
inputs()
click to toggle source
object for manage System/Inputs
@return GraylogAPI::System::Inputs
# File lib/graylogapi/system.rb, line 27 def inputs @inputs ||= Inputs.new(@client) end
jvm()
click to toggle source
# File lib/graylogapi/system.rb, line 16 def jvm @client.request(:get, '/system/jvm') end
overview()
click to toggle source
# File lib/graylogapi/system.rb, line 12 def overview @client.request(:get, '/system') end
thread_dump()
click to toggle source
# File lib/graylogapi/system.rb, line 20 def thread_dump @client.request(:get, '/system/threaddump') end