class GraylogAPI

class for work with graylog api

Constants

VERSION

Attributes

client[R]

@return [GraylogAPI::Client]

Public Class Methods

new(options = {}) click to toggle source

Initializes a new GraylogAPI object

@param options [Hash] @return [GraylogAPI]

# File lib/graylogapi.rb, line 24
def initialize(options = {})
  @client = Client.new(options)
end

Public Instance Methods

alerts() click to toggle source

@return [GraylogAPI::Alerts]

# File lib/graylogapi.rb, line 29
def alerts
  @alerts ||= Alerts.new(@client)
end
dashboards() click to toggle source

@return [GraylogAPI::Dashboards]

# File lib/graylogapi.rb, line 49
def dashboards
  @dashboards ||= Dashboards.new(@client)
end
extractors() click to toggle source

@return [GraylogAPI::Extractors]

# File lib/graylogapi.rb, line 59
def extractors
  @extractors ||= Extractors.new(@client)
end
static_fields() click to toggle source

@return [GraylogAPI::StaticFields]

# File lib/graylogapi.rb, line 54
def static_fields
  @static_fields ||= StaticFields.new(@client)
end
stream_rules() click to toggle source

@return [GraylogAPI::StreamsRules]

# File lib/graylogapi.rb, line 44
def stream_rules
  @stream_rules ||= StreamRules.new(@client)
end
streams() click to toggle source

@return [GraylogAPI::Streams]

# File lib/graylogapi.rb, line 39
def streams
  @streams ||= Streams.new(@client)
end
system() click to toggle source

@return [GraylogAPI::System]

# File lib/graylogapi.rb, line 34
def system
  @system ||= System.new(@client)
end
users() click to toggle source

@return [GraylogAPI::Users]

# File lib/graylogapi.rb, line 64
def users
  @users ||= Users.new(@client)
end