Class: GraylogAPI::System
- Inherits:
-
Object
- Object
- GraylogAPI::System
show all
- Defined in:
- lib/graylogapi/system.rb,
lib/graylogapi/system/inputs.rb,
lib/graylogapi/system/cluster.rb,
lib/graylogapi/system/index_sets.rb,
lib/graylogapi/system/inputs/types.rb
Overview
Defined Under Namespace
Classes: Cluster, IndexSets, Inputs
Instance Method Summary
collapse
Constructor Details
#initialize(client) ⇒ System
Returns a new instance of System.
8
9
10
|
# File 'lib/graylogapi/system.rb', line 8
def initialize(client)
@client = client
end
|
Instance Method Details
#cluster ⇒ Object
35
36
37
|
# File 'lib/graylogapi/system.rb', line 35
def cluster
@cluster ||= Cluster.new(@client)
end
|
#index_sets ⇒ Object
31
32
33
|
# File 'lib/graylogapi/system.rb', line 31
def index_sets
@index_sets ||= IndexSets.new(@client)
end
|
object for manage System/Inputs
27
28
29
|
# File 'lib/graylogapi/system.rb', line 27
def inputs
@inputs ||= Inputs.new(@client)
end
|
#jvm ⇒ Object
16
17
18
|
# File 'lib/graylogapi/system.rb', line 16
def jvm
@client.request(:get, '/system/jvm')
end
|
#overview ⇒ Object
12
13
14
|
# File 'lib/graylogapi/system.rb', line 12
def overview
@client.request(:get, '/system')
end
|
#thread_dump ⇒ Object
20
21
22
|
# File 'lib/graylogapi/system.rb', line 20
def thread_dump
@client.request(:get, '/system/threaddump')
end
|