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

Returns:

  • (Time)


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

def accept_date
  @accept_date
end

#bind_nameString

Returns:

  • (String)


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

def bind_name
  @bind_name
end

#client_ipString

Returns:

  • (String)


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

def client_ip
  @client_ip
end

#client_portInteger

Returns:

  • (Integer)


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

def client_port
  @client_port
end

#frontend_nameString

Returns:

  • (String)


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

def frontend_name
  @frontend_name
end

#messageString

Returns:

  • (String)


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

def message
  @message
end