Class: HAProxyLogParser::ErrorEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/haproxy_log_parser/error_entry.rb

Overview

An instance of this class represents a connection error line of an HAProxy log. See the “Logging > Log formats > Error log format” section in HAProxy’s configuration.txt for documentation of fields.

Instance Attribute Summary collapse

Instance Attribute Details

#accept_dateTime



13
14
15
# File 'lib/haproxy_log_parser/error_entry.rb', line 13

def accept_date
  @accept_date
end

#bind_nameString



19
20
21
# File 'lib/haproxy_log_parser/error_entry.rb', line 19

def bind_name
  @bind_name
end

#client_ipString



7
8
9
# File 'lib/haproxy_log_parser/error_entry.rb', line 7

def client_ip
  @client_ip
end

#client_portInteger



10
11
12
# File 'lib/haproxy_log_parser/error_entry.rb', line 10

def client_port
  @client_port
end

#frontend_nameString



16
17
18
# File 'lib/haproxy_log_parser/error_entry.rb', line 16

def frontend_name
  @frontend_name
end

#messageString



22
23
24
# File 'lib/haproxy_log_parser/error_entry.rb', line 22

def message
  @message
end