Skip to content

haproxy job from logsearch/200.0.0

The HAProxy.

Github source: c42a9f04 or master branch

Properties

haproxy

backend_port

The port number the ingestors are listening on

Default
5514

backend_servers

Array of the ingestor IPs

Default
[]

client_timeout

Timeout waiting for data from a client (in seconds)

Default
30

connect_timeout

Timeout waiting for connections to establish to a server (in seconds)

Default
5

inbound_port

The port the proxy server is listening on

Default
5514

log_level

Log level

Default
info

queue_timeout

Timeout for requests queued waiting for free connection slots (in seconds)

Default
30

server_timeout

Timeout waiting for data from a server (in seconds)

Default
30

ssl_pem

SSL certificate (PEM file). Omit if you don’t want to use SSL

syslog_server

An IPv4 address optionally followed by a colon and a UDP port. It can also be an IPv6 address or filesystem path to a UNIX domain socket.

Default
127.0.0.1

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/haproxy/ directory (learn more).

  • bin/haproxy_ctl (from haproxy_ctl)
  • bin/monit_debugger (from monit_debugger)
  • config/cert.pem (from cert.pem.erb)
  • config/haproxy.config (from haproxy.config.erb)
  • data/properties.sh (from properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.