Re: [graylog2] Re: LVS + keepalived + UDP + HTTP_GET

2015-01-22 Thread kutscher
Workaround for the workaround :) Start TCP input with some port on graylog2 and use this config: real_server 10.x.x.216 { weight 10 ! inhibit_on_failure TCP_CHECK { connect_timeout 10 connect_port } } So graylog2 (application or serve

Re: [graylog2] Re: LVS + keepalived + UDP + HTTP_GET

2015-01-22 Thread kutscher
> > Hi, > I use status_code 200 but it do not work. Currently we use rsyslog to forwad the messages. What kind of LB did u use for Loadbalance your UDP Logs? I know HA Proxy do not loadbalancing UDP. So I use LVS to balance my logs. Unfortunately that won't be possible because of the ch

Re: [graylog2] Re: LVS + keepalived + UDP + HTTP_GET

2015-01-21 Thread Tristan Rhodes
Just for fun, this should be an equivalent setup using HAProxy: (If you are a HAProxy guru, please correct this) backend graylog2 mode http balance roundrobin option httpchk GET /system/lbstatus/ http-check expect status 200 server web1 10.0.0.10:12900 check server web2 10

Re: [graylog2] Re: LVS + keepalived + UDP + HTTP_GET

2015-01-21 Thread Tristan Rhodes
I didn't see him specify that he was using GELF format for his logs. I think this is a load-balancer configuration problem. Here are the values you can check with a load-balancer: "The status knows two different states, ALIVE and DEAD, which is also the text/plain response of the resource. Addit

[graylog2] Re: LVS + keepalived + UDP + HTTP_GET

2015-01-21 Thread Jochen Schalanda
Hi, On Wednesday, 21 January 2015 15:23:01 UTC+1, kutscher wrote: > > Hello, i want to use Loadbalance UDP Syslog Messages to the Graylog2 > Nodes. > Unfortunately that won't be possible because of the chunking mechanism being used when submitting GELF messages via UDP because all chunks must