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



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

def facility
  @facility
end

#hostObject

Accessor to the Graylog host



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

def host
  @host
end

#max_chunk_sizeObject

Accessor to the Graylog chunk size



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

def max_chunk_size
  @max_chunk_size
end

#portObject

Accessor to the Graylog port



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

def port
  @port
end