Class: Yell::Adapters::Gelf

Inherits:
Base
  • Object
show all
Defined in:
lib/yell/adapters/gelf.rb

Overview

GELF for Graylog2.

Defined Under Namespace

Classes: Sender

Constant Summary collapse

Severities =

Graylog severities

[7, 6, 4, 3, 2, 1]

Instance Attribute Summary collapse

Instance Attribute Details

#facilityObject

Accessor to the Graylog facility



99
100
101
# File 'lib/yell/adapters/gelf.rb', line 99

def facility
  @facility
end

#hostObject

Accessor to the Graylog host



90
91
92
# File 'lib/yell/adapters/gelf.rb', line 90

def host
  @host
end

#max_chunk_sizeObject

Accessor to the Graylog chunk size



102
103
104
# File 'lib/yell/adapters/gelf.rb', line 102

def max_chunk_size
  @max_chunk_size
end

#portObject

Accessor to the Graylog port



93
94
95
# File 'lib/yell/adapters/gelf.rb', line 93

def port
  @port
end

#sourceObject

Accessor to the Graylog source



96
97
98
# File 'lib/yell/adapters/gelf.rb', line 96

def source
  @source
end