Haproxy ACL hit count

Hi,

I am trying to see which acl’s are generally in use and which are not in a config. Is there a way to see how many hits each acl has?

Thanks,
Igor

You need to repeat the acl and do an other action with it to let you know.

The easy one is to add a header, other alternatives involve using tables and increment counters.

Hi @Rfraile,

Thanks for the response. Can you elaborate further please on your answer with some examples?
What do you mean exactly when saying “repeat the acl and do an other action with it” ?

Thanks,
Igor