> On Wed, Sep 07, 2022 at 09:04:44PM +0000, Dave Cottlehuber wrote: >> hi, >> >> I'm working towards dumping a list of top N http requesters via a >> lua-driven HTTP response, from a peer synced table. >> >> The first stage is to dump without peers. I have found the stick table >> object, but can't call any of the info, dump, or lookup methods on it.
The first part was trivial! See gist for details. ** Use : not . for methods ** https://gist.github.com/dch/63dd70f626b4203c2769298c9c371958 which produces this: { "::ffff:127.0.0.1": 397, "::ffff:172.16.2.21": 103, "::1": 5732 } The second part, is it possible to access peer stick tables? I don't see them in the objects listed by Thierry, nor when recursively dumping the core object. https://www.arpalert.org/src/haproxy-lua-api/2.6/#external-lua-libraries > just a quick response to confirm it reached the list. Thanks for your > patience and sorry for the inconvenience. not at all! Thank-you. A+ Dave

