HAProxy community

Generate random string of a specific length?

Is there an option to generate a random string of a specific length?

If you want something to uniquely identify requests, you should use uuid.

Otherwise you can generate random numbers with rand.

If you want a random string, you probably need to work with LUA.