-
-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathparseable-ingest-haproxy.cfg
More file actions
45 lines (37 loc) · 923 Bytes
/
parseable-ingest-haproxy.cfg
File metadata and controls
45 lines (37 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
global
log stdout format raw local0
maxconn 60000
daemon
defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000
frontend stats
bind *:9001
stats enable
stats uri /
stats refresh 30s
stats admin if TRUE
frontend ingestion_frontend
bind *:8001
mode http
default_backend ingestion_backend
backend ingestion_backend
mode http
balance roundrobin
option forwardfor
# Health check configuration
option httpchk GET /api/v1/liveness
http-check expect status 200
# Backend servers
server ingest1 parseable-ingest-one:8000 check inter 5s rise 2 fall 3
server ingest2 parseable-ingest-two:8000 check inter 5s rise 2 fall 3
# Session persistence
hash-type consistent
# Retry configuration
retries 3
option redispatch