Re: Count uniq Client ips

2020-10-15 Thread Tim Düsterhus
Aleks, Am 15.10.20 um 22:54 schrieb Aleksandar Lazic: > I need to know how many concurrent clients request *NOW* a specific URL > and display > it in prometheus and limit access to max client let's say 50 per url. > > That's my requirement. Using a stick table keyed using the `base32` fetch (or

Re: Count uniq Client ips

2020-10-15 Thread Aleksandar Lazic
Tim. On 15.10.20 19:05, Tim Düsterhus wrote: Aleks, Am 15.10.20 um 14:08 schrieb Aleksandar Lazic: The target is to know how much concurrent IP's request the a specific URL. What *exactly* would you like to extract? Do you actually want concurrent IP addresses? Log parsing then would be

Re: Too many response errors

2020-10-15 Thread Seena Fallah
Based on this comment is this related to the client and there is no problem on the server side? https://github.com/haproxy/haproxy/blob/master/include/haproxy/channel-t.h#L68 On Wed, Oct 14, 2020 at 3:29 PM Seena Fallah wrote: > Hi. > > I'm facing many response errors from my backends and I

RE: Heath check responds up even when server is down

2020-10-15 Thread Wesley Lukehart
Correct - nothing in the logs that show L7TOUT/L7RSP. I actually change the check interval to 2s when testing so I don't have to wait as long when testing. -Original Message- From: Christopher Faulet Sent: Thursday, October 15, 2020 09:02 To: Wesley Lukehart ; haproxy@formilux.org

RE: Heath check responds up even when server is down

2020-10-15 Thread Wesley Lukehart
Thanks for the suggestion. I tried this and there was no change in behavior. -Original Message- From: Jarno Huuskonen Sent: Thursday, October 15, 2020 00:25 To: Wesley Lukehart ; haproxy@formilux.org Subject: Re: Heath check responds up even when server is down Hi, On Thu,

Re: Count uniq Client ips

2020-10-15 Thread Tim Düsterhus
Aleks, Am 15.10.20 um 14:08 schrieb Aleksandar Lazic: > The target is to know how much concurrent IP's request the a specific URL. What *exactly* would you like to extract? Do you actually want concurrent IP addresses? Log parsing then would be impossible by definition. Best regards Tim

Re: Heath check responds up even when server is down

2020-10-15 Thread Christopher Faulet
Le 15/10/2020 à 03:27, Wesley Lukehart a écrit : Hello fine people. Short time lurker, first time poster. Was on version 2.0.5 with CentOS 7.6 and everything was working fine with Exchange 2019. Upgraded to 2.2.3 and now when we put Exchange into maintenance mode HAProxy does not change

Re: Count uniq Client ips

2020-10-15 Thread Aleksandar Lazic
Hi Adis, On 15.10.20 15:03, Adis Nezirovic wrote: On 10/15/20 2:08 PM, Aleksandar Lazic wrote: Hi. I though maybe the peers could help me when I yust add the client IP with the URL but I'm not sure if I can query the peers store in a efficient way. The target is to know how much concurrent

Re: Count uniq Client ips

2020-10-15 Thread Adis Nezirovic
On 10/15/20 2:08 PM, Aleksandar Lazic wrote: Hi. I though maybe the peers could help me when I yust add the client IP with the URL but I'm not sure if I can query the peers store in a efficient way. The target is to know how much concurrent IP's request the a specific URL. Could lua be a

Count uniq Client ips

2020-10-15 Thread Aleksandar Lazic
Hi. I have a quite tricky requirement and hope to get some input for a efficient solution. I use a haproyx in front of a streaming server. The access log, in json format, writes out the http request to syslog which is this plugin

Re: Heath check responds up even when server is down

2020-10-15 Thread Jarno Huuskonen
Hi, On Thu, 2020-10-15 at 01:27 +, Wesley Lukehart wrote: > Hello fine people. Short time lurker, first time poster. > > Was on version 2.0.5 with CentOS 7.6 and everything was working fine with > Exchange 2019. > Upgraded to 2.2.3 and now when we put Exchange into maintenance mode >